how do you handle a task failure in a workflow? ca...
# flyte-support
b
how do you handle a task failure in a workflow? can you just use try-catch?
t
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.
b
good to know, thanks!
any idea when that will be landing?
t
cc @freezing-airport-6809 if you had a timeline you were thinking of.
f
We have not had too many requests for it, but would love to get a contribution 😌
l
Quinn, can you tell us a little more about what you’re trying to accomplish at a high level? There are likely other solutions….
b
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
t
there are already email notifications… does discord have an email endpoint you can hit?
b
don't think so
180 Views