summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-01-29 09:38:15 +0000
committerSteve Kemp <steve@steve.org.uk>2015-01-29 09:38:15 +0000
commit5b6359a8e88103a14c6e769874ac2adb99de8384 (patch)
tree733f8db4fc6e109591a6560ff0ad95ec37c85492
parentdf5431fc32b2f86ac4c12ef086b747793556f8a1 (diff)
Don't output messages unless $DEBUG=1
-rw-r--r--lib/custodian/queue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/queue.rb b/lib/custodian/queue.rb
index d1f2057..8d48575 100644
--- a/lib/custodian/queue.rb
+++ b/lib/custodian/queue.rb
@@ -6,7 +6,7 @@
begin
require library
rescue LoadError
- puts "Failed to load the library: #{library}"
+ ENV["DEBUG"] && puts( "Failed to load the library: #{library}" )
end
end