lib/raven/sidekiq.rb in sentry-raven-0.9.4 vs lib/raven/sidekiq.rb in sentry-raven-0.10.1
- old
+ new
@@ -20,8 +20,8 @@
chain.add ::Raven::Sidekiq
end
end
else
Sidekiq.configure_server do |config|
- config.error_handlers << Proc.new {|ex,context| Raven.capture_exception(ex, context) }
+ config.error_handlers << Proc.new {|ex,context| Raven.capture_exception(ex, :extra => {:sidekiq => context}) }
end
end