Permalink
Browse files

Log all exceptions.

  • Loading branch information...
meh committed Jul 18, 2012
1 parent d510d0c commit c47e51fc2cac368edb46bf740da1beb2953efa9d
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/LOLastfm
View
@@ -28,8 +28,7 @@ EM.run {
d.start
EM.error_handler {|e|
- $stderr.puts e.message
- $stderr.puts e.backtrace
+ d.log e
}
%w[INT KILL].each {|sig|

0 comments on commit c47e51f

Please sign in to comment.