solid_errors
solid_errors copied to clipboard
Support errors happening in ActiveJob (solid_queue, sidekiq, ...)
It would be nice if solid_errors supports ActiveJob. Sentry-Rails could be a good resource of inspiration.
https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/active_job.rb https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/railtie.rb
Or is this the job of the background worker such as solid_queue? If so, I can open an issue in solid_queue
@stillhart I came up with simple integration for ActiveJob (tested with SolidQueue)
https://gist.github.com/defkode/3da234167d1a7bc18a46ff2e700c4d65
@fractaledmind Been working on my own error reporter too(cause why not 😄) and stumbled on this. Opened up https://github.com/rails/rails/pull/53201 to hopefully fix this and cut down on monkey patching. Action Cable may need something too but havent tested it yet.
Is this solved in SolidQueue? https://github.com/rails/solid_queue/pull/373#issuecomment-2480532426
Yep