Skip to content

Default worker exception handler should not exit the quebert worker loop #19

@bradgessler

Description

@bradgessler

The current default behavior of the quebert worker loop is to exit the quebert process when an exception is raised:

https://github.com/polleverywhere/quebert/blob/master/lib/quebert/worker.rb#L33

Change the default to log the exception and bury the job for later inspection. Also make the object passed into the error proc a custom struct/class for better error encapsulation.

Since this breaks the 3.0 error handler API this should belong on Quebert 4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions