bodywork-ml/bodywork-core

Extract more informative information from k8s ApiException

AlexIoannides opened this issue · 0 comments

"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_workflow so that it catches ApiException and handles them individually.
  • Use bodywork.k8s.utils.api_exception_msg to extract the information from the exception and present this to the user.