ancient-wolf-19325
07/29/2024, 10:24 PMFlyteUserException raised in ContainerTask back to Flyte workflow. I have no problem propagating FlyteUserException from decorated tasks (@task) though. Details in ๐งต
# Answer
To propagate FlyteUserException from a ContainerTask back to the Flyte workflow, ensure that the exception is correctly raised and handled within the container. Unlike decorated tasks, ContainerTask might require explicit handling to propagate exceptions properly.
Would you like more details on how to handle exceptions in ContainerTask or a code example?
Sources:
- https://discuss.flyte.org/t/10365853/hi-all-i-m-seeing-retries-3-and-counting-on-a-workflow-that-/
- https://github.com/flyteorg/flyte/issues/5513
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1722291837.363139 ๐ 0 button ๐ 0 button ๐ก Hint: Mention @runllm in the thread for followups.