Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Errors from queued jobs aren't sent until the queue runner is restarted #222

Closed
@misenhower

Description

@misenhower

Exceptions from queued background jobs are logged properly, but they only seem to be sent to the remote Sentry server when you manually restart or shut down the queue runner. I assume that's the intended behavior for HTTP requests, but for queue runners it means reports are delayed indefinitely (or lost).

I'm using the Horizon queue runner, but I assume this happens with the basic one as well.

I think this was handled in #153, but the sendUnsentErrors method was removed from a later version of sentry-php so I'm not sure what the best method to fix this would be at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions