I just tried to setup raven-ruby following docs:
Raven.configure do |config|
config.async = ->(event) { SentryJob.perform_later(event.to_hash) }
end
It was silently failing to enqueue the job util I changed to:
Raven.configure do |config|
config.async = ->(event) { SentryJob.perform_later(event.to_hash.except(:request) }
end
I tried both :inline and :sidekiq AJ backends, I think there's some serialization issue that is swallowed silently. I'm going to provide repro gists soon meanwhile I opening this issue now to share this workaround.
:( We should make sure we fail loudly if async is misconfigured.
Hit this too. May be nice to fall back to non-async capture of both the event and the async exception.
I think this is related to #511.
PR for sync fallback is available at #548
Most helpful comment
Hit this too. May be nice to fall back to non-async capture of both the event and the async exception.