bodywork-core icon indicating copy to clipboard operation
bodywork-core copied to clipboard

Extract more informative information from k8s ApiException

Open AlexIoannides opened this issue 3 years ago • 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.

AlexIoannides avatar Jul 07 '22 21:07 AlexIoannides