how do you handle a task failure in a workflow? can you just use try-catch?
Yee
7 months ago
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.
Quinn Romanek
7 months ago
good to know, thanks!
any idea when that will be landing?
Yee
7 months ago
cc @Ketan (kumare3) if you had a timeline you were thinking of.
Ketan (kumare3)
7 months ago
We have not had too many requests for it, but would love to get a contribution 😌
g
George Snelling
7 months ago
Quinn, can you tell us a little more about what you’re trying to accomplish at a high level? There are likely other solutions….
Quinn Romanek
7 months ago
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
Yee
7 months ago
there are already email notifications… does discord have an email endpoint you can hit?