https://prefect.io logo
#prefect-community
Title
# prefect-community
s

Samuel Hinton

05/26/2022, 6:52 AM
Hi team! I currently have the slack integration turned on so I get flow failures posted. However, is there a way to actually configure what is reported using this web hook? Right now, every failure just gives us the same generic “Some reference tasks failed.” error message, when ideally it would be great to be able to pass on some of the logs from any task that failed. Is this possible to do?
k

Kevin Kho

05/26/2022, 2:08 PM
So for that webhook there is none, You are better off using the SlackTask like this
s

Samuel Hinton

05/29/2022, 11:42 PM
Damn, we just migrated from custom handlers like you linked to, to webhooks, because the former doesnt capture all the ways a flow can fail (I had a similar convo many months ago on here about how to catch tasks that didnt even execute), but I might look on migrating back, thanks Kevin.
4 Views