This PR fixes the behavior of Task and Job middlewares concerning failure.
Previously task and job middleware errors were considered fatal and only logged. Furthermore, middleware implementations were expected to handle any non-fatal error conditions themselves via side-effects.
This change streamlines the operation of job and task middlewares so this is automatically handled for them.
This PR fixes the behavior of Task and Job middlewares concerning failure.
Previously task and job middleware errors were considered fatal and only logged. Furthermore, middleware implementations were expected to handle any non-fatal error conditions themselves via side-effects.
This change streamlines the operation of job and task middlewares so this is automatically handled for them.