how to fail a task / flow when there's error without raising exception. tq...
a
Anna Geller
12/29/2022, 4:46 PM
you can return Failed state directly from your task or flow
a
ar
12/30/2022, 3:20 AM
Hi Anna, thank you for your time, i did return Failed(message="the error message") however it also return the stacktrace together. The prefect.exceptions.FailedRun:
ar
12/30/2022, 10:39 AM
if its expected, i think should be OK, sorry for the inconveniences. the log view in Ui is better than accumulated one in console run ...
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.