Skip to content

Commit

Permalink
Merge pull request #326 from lsst/tickets/DM-49095
Browse files Browse the repository at this point in the history
DM-49095: MPGraphExecutor: fix failure to fail
  • Loading branch information
PaulPrice authored Feb 27, 2025
2 parents fe75ee3 + 84e2948 commit c29833d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changes/DM-49095.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix failure to fail: not enough arguments for format string.
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/mpGraphExecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def _executeQuantaInProcess(self, graph: QuantumGraph, report: Report) -> None:
fail_exit_code = exc.EXIT_CODE
raise
except InvalidQuantumError as exc:
_LOG.fatal("Invalid quantum error for %s (%s): %s", task_node.label, qnode.quantum.dataId)
_LOG.fatal("Invalid quantum error for %s (%s):", task_node.label, qnode.quantum.dataId)
_LOG.fatal(exc, exc_info=True)
fail_exit_code = exc.EXIT_CODE
raise
Expand Down

0 comments on commit c29833d

Please sign in to comment.