Skip to content
Snippets Groups Projects
Commit 71530f9c authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

improve exception handling

parent d3523dfa
No related branches found
No related tags found
1 merge request!457create new experimental release
Pipeline #26064 waiting for manual action with stage
in 1 hour, 5 minutes, and 13 seconds
......@@ -54,7 +54,7 @@ class WfBrainscales2Demos(Package):
try:
# execute notebook and save
jupyter(*args)
except Exception as e:
except ProcessError as e:
# if the above fails, re-run notebook to produce output with error
jupyter(*(args+["--allow-errors"]))
raise
......
......@@ -47,7 +47,7 @@ class WfMultiAreaModel(Package):
try:
# execute notebook and save
jupyter(*args)
except Exception as e:
except ProcessError as e:
# if the above fails, re-run notebook to produce output with error
jupyter(*(args+["--allow-errors"]))
raise
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment