bodywork-core
bodywork-core copied to clipboard
Extract more informative information from k8s ApiException
"As a ML Engineer, I would like to better understand the errors that k8s sometimes yields, so that I have a better chance of understanding how to cure the underlying issue."
Tasks
- Extend
bodywork.workflow_execution.run_workflowso that it catchesApiExceptionand handles them individually. - Use
bodywork.k8s.utils.api_exception_msgto extract the information from the exception and present this to the user.