Skip to content

Commit

Permalink
FIX: Allow workflows to raise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Mar 14, 2022
1 parent 6e9f2f7 commit c4a4399
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fitlins/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ def run_fitlins(argv=None):
if not opts.reports_only:
try:
fitlins_wf.run(**plugin_settings)
except Exception:
retcode = 1
except Exception as e:
logger.critical(f"FitLins failed: {e}")
raise

run_context = {
'version': __version__,
Expand Down

0 comments on commit c4a4399

Please sign in to comment.