diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-01-29 09:38:15 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-01-29 09:38:15 +0000 |
commit | a96c49dc159379148a18e3acf021cd86b288b9ff (patch) | |
tree | 0de642b329e731c24b29d85351665665f2827ee9 | |
parent | 5e4cbcbf100de85981dc8318059aeec7e3f2a5b5 (diff) |
Don't output messages unless $DEBUG=1
-rw-r--r-- | lib/custodian/queue.rb | 2 |
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 |