Can we raise a more informative error when papermill
is not installed?
#8
Labels
area: user experience 👩🏻💻
needs: review 👀
This PR is complete and ready for reviewing
status: in review 👀
This PR is currently being reviewed by the team
type: enhancement 💅🏼
New feature or request
Context
When papermill is not in environment the job fails without any sensible description. There are some ideas to solve it with LBYL (nebari-dev/nebari#1838):
argo-jupyter-scheduler/argo_jupyter_scheduler/utils.py
Lines 135 to 137 in 1d9f1d1
but I think what would be neat is if we could return an informative error from the container itself:
currently it just shows "Workflow failed"
Maybe it is as simple as adjusting these lines:
argo-jupyter-scheduler/argo_jupyter_scheduler/utils.py
Lines 207 to 210 in 1d9f1d1
?
Value and/or benefit
Less user confusion. Users using the scheduler function rather than giving up after first attempt because it is not working.
Anything else?
No response
The text was updated successfully, but these errors were encountered: