summaryrefslogtreecommitdiff
path: root/lib
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
commita96c49dc159379148a18e3acf021cd86b288b9ff (patch)
tree0de642b329e731c24b29d85351665665f2827ee9 /lib
parent5e4cbcbf100de85981dc8318059aeec7e3f2a5b5 (diff)
Don't output messages unless $DEBUG=1
Diffstat (limited to 'lib')
-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