Make run_locally(ensure_success=True)
raise the actual encountered exception
#611
Labels
ux
User experience
when debugging a failing workflow with
run_locally
, it can be very helpful to have access to the exception object. currently, you always get the same generic error:jobflow/src/jobflow/managers/local.py
Line 181 in e61b50f
to see what went wrong, you have to run with
and then hunt for the error message in the logs which can be verbose
how about we raise the actual error message instead of this generic
RuntimeError
? a (possibly bad style) sketch of how to implement this:for the above to work,
_run_job
would have to be modified to return the caught exception:The text was updated successfully, but these errors were encountered: