You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refering to the closed #118:
Is there a way to set the script status on "error" or something like that (and not "Success") if the script throwed an exception? I found nothing in the issues or documentation except the closed #118 issue.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Script used sys.exit(your_main_function(...)) and your_main_function returned a 0 for success (this isn't a hard requirement, but if it is missing, your script will always return success unless an Exception was hit)
A TASK_FAILED state was added to disambiguate between task failures and task runner failures (celery failures)
submit_script was updated to pass the returncode of proc to the job, and the subsequent signal handling by celery (task_completed) knew not to change the return value
Refering to the closed #118:
Is there a way to set the script status on "error" or something like that (and not "Success") if the script throwed an exception? I found nothing in the issues or documentation except the closed #118 issue.
Thanks in advance!
The text was updated successfully, but these errors were encountered: