Permalink
Browse files

undefined variable 'e' for errors

  • Loading branch information...
1 parent 9f794d9 commit e44b65aadca2d60b3268fda86db4d317be413d3d @jhsu jhsu committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/resque/pool/cli.rb
@@ -84,7 +84,7 @@ def process_still_running?(pidfile)
false
rescue Errno::EPERM
true
- rescue ::Exception
+ rescue ::Exception => e
$stderr.puts "While checking if PID #{old_pid} is running, unexpected #{e.class}: #{e}"
true
end

0 comments on commit e44b65a

Please sign in to comment.