Skip to content

Catches errors in flow_script and sets status (in execution_status table) #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2021

Conversation

c-simpson
Copy link
Collaborator

to 'error'. This allows another job to be run (which could not happen if exception was not caught and status was left as 'executing').

Needs UI support (Issue #336 , #229 ) Note that admin_api.py/execute() will return a useful status back to React. We need to check it and tell the user something useful. If there was an error, retrying probably won't help but it should be reported.

Closes #228

to 'error'. This allows another job to be run (which could not
happen if status was left as 'executing'.
Needs UI support (Issue #336)
If status = 'error', the details field contains the traceback
@c-simpson
Copy link
Collaborator Author

27a7194 writes the traceback to the database execution_status.details column for the job :
image

@c-simpson c-simpson merged commit d1084e0 into master Sep 21, 2021
@c-simpson c-simpson deleted the catch_flow_error branch October 12, 2021 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Block execute from running twice
1 participant