https://flyte.org logo
#ask-the-community
Title
# ask-the-community
q

Quinn Romanek

12/17/2021, 6:50 PM
how do you handle a task failure in a workflow? can you just use try-catch?
y

Yee

12/17/2021, 7:44 PM
no unfortunately not, sorry. it’s in the IDL and it’s been implemented in the backend, but the piping/syntax for it hasn’t been implemented yet in flytekit.
q

Quinn Romanek

12/17/2021, 7:45 PM
good to know, thanks!
any idea when that will be landing?
y

Yee

12/17/2021, 8:06 PM
cc @Ketan (kumare3) if you had a timeline you were thinking of.
k

Ketan (kumare3)

12/17/2021, 8:08 PM
We have not had too many requests for it, but would love to get a contribution 😌
g

George Snelling

12/20/2021, 9:52 PM
Quinn, can you tell us a little more about what you’re trying to accomplish at a high level? There are likely other solutions….
q

Quinn Romanek

01/11/2022, 7:38 PM
sorry for the late reply, but in general looking to be able to handle a failure in a workflow and e.g. send a discord message or something
I think my stand-in solution would be returning some sort of Result object from a task
y

Yee

01/11/2022, 8:51 PM
there are already email notifications… does discord have an email endpoint you can hit?
q

Quinn Romanek

01/19/2022, 3:27 PM
don't think so
12 Views