Skip to content

Support errors happening in ActiveJob (solid_queue, sidekiq, ...) #44

Closed

Description

@stillhart

Activity

  1. stillhart commented on Apr 15, 2024

    @stillhart
    ContributorAuthor

    Or is this the job of the background worker such as solid_queue? If so, I can open an issue in solid_queue

  2. defkode commented on May 9, 2024

    @defkode
    Contributor

    @stillhart I came up with simple integration for ActiveJob (tested with SolidQueue)

    https://gist.github.com/defkode/3da234167d1a7bc18a46ff2e700c4d65

  3. npezza93 commented on Oct 5, 2024

    @npezza93

    @fractaledmind Been working on my own error reporter too(cause why not 😄) and stumbled on this. Opened up rails/rails#53201 to hopefully fix this and cut down on monkey patching. Action Cable may need something too but havent tested it yet.

  4. kuboon commented on Feb 28, 2025

    @kuboon
    Contributor

    Is this solved in SolidQueue?
    rails/solid_queue#373 (comment)

  5. npezza93 commented on Feb 28, 2025

    @npezza93

    Yep

  6. fractaledmind commented on Oct 16, 2026

    @fractaledmind
    Owner

    This works without extra setup now. Since Rails 7.1, which is Solid Errors' minimum as of 0.7.1, the Rails executor reports any unhandled error to Rails.error. Job backends that run jobs inside the executor (Solid Queue, Sidekiq's Rails integration, GoodJob) therefore send job failures straight to Solid Errors. Thanks @npezza93 for the upstream work.

    #115 also makes those occurrences useful: they record the job class, id, queue and (filtered) arguments, with records as GlobalIDs, instead of #<MyJob>. The README section it adds describes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions