Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
2 parents c23b5f4 + 2308534 commit d99253a2c707b99402ba58d11ad82f6f94852337 @masterkain masterkain committed Feb 27, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/sidekiq/middleware/server/exception_handler.rb
View
4 lib/sidekiq/middleware/server/exception_handler.rb
@@ -19,9 +19,7 @@ def call(*args)
private
def send_to_airbrake(msg, ex)
- ::Airbrake.notify(:error_class => ex.class.name,
- :error_message => "#{ex.class.name}: #{ex.message}",
- :parameters => msg)
+ ::Airbrake.notify(ex, :parameters => msg)
end
def send_to_exceptional(msg, ex)

0 comments on commit d99253a

Please sign in to comment.