Closed superstar54 closed 2 months ago
Attention: Patch coverage is 89.74359%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 80.47%. Comparing base (
5937b88
) to head (9135e05
). Report is 69 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR refactors the error handlers in three ways: Engine 1) pass task as args, and engine as kwargs 2) return msg to report 3) update the task in the engine
PythonJob One can attach
error_handler
to the PythonJob task directly.Store error handler Save the module and name if the error handler is globally defined, otherwise, use pickle.
Example
For example, in the decorator's argument: