https://prefect.io logo
Title
m

Mahesh

11/28/2022, 8:27 AM
Hi Team, with prefect2.0 how to send task's error log to the slack on failure
j

James Sopkin

11/28/2022, 3:35 PM
Hi @Mahesh check out the docs here. An easy way to do it is to configure notifications in the UI. Upon failure it will send a notification and you can click the link to see the logs in the UI
m

Mahesh

11/30/2022, 3:55 AM
Hi @James Sopkin, got it but i want to send error logs directly on slack without looking into UI. Is there any way to send task's error log as a notification.
Hi Team, Anyone please help on this
1
z

Zanie

12/01/2022, 4:31 AM
Hi. We do not support sending task run logs as a part of the notification.
If this would be useful for you, please open a feature request on GitHub.
m

Mahesh

12/01/2022, 6:04 AM
Thanks @Zanie for the confirmation. I will raise a feature request