In v2 what are you using in place of state handler...
# prefect-community
j
In v2 what are you using in place of state handlers? I would like to build a consistent way to send a customized slack notification when any task in a flow fails.
r
We just added success and failure hooks for flows and tasks: https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-283. It sounds like the task failure hook would be useful for you here.
🙌 1