<#404 Error handling fix> Pull request opened by <...
# flyte-github
a
#404 Error handling fix Pull request opened by wild-endeavor Python try/catch blocks only catch one level of exceptions... when retries hit their max in
_bg_run
, the core controller re-raises, but the catch-all Exception doesn't kick in since one arm of the except already hit. This leads to the while loop exiting and the worker silently stopping. This adds one more try/catch layer and adds a test. flyteorg/flyte-sdk