Skip to content

Async w/ ActiveJob silently fails #506

@budnik

Description

@budnik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions