Nivi Mukka
08/11/2021, 1:30 AMsys.exit(1)
. I have this line inside of a task and if the execution reaches this line, does it exit with 1
and mark the task
as successful or failed? Or does it think the flow
failed and try to restart the flow
?Nivi Mukka
08/11/2021, 1:38 AMraise SystemExit('my error message')
instead of sys.exit(1)
when I want the task to end with failed status?Kevin Kho
Nivi Mukka
08/11/2021, 1:46 AMKevin Kho
from prefect.engine.signals import FAIL, SKIP, SUCCESS
Sam Cook
08/11/2021, 1:18 PM