how to fail a task / flow when there's error witho...
# prefect-getting-started
a
how to fail a task / flow when there's error without raising exception. tq...
a
you can return Failed state directly from your task or flow
a
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:
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 ...
a
thx for update