Skip to content

Commit

Permalink
Gracefully handle missing planner exit codes in .
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 21, 2024
1 parent 54860d0 commit dcad373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Lab

Downward Lab
^^^^^^^^^^^^
* No changes
* Gracefully handle missing planner exit codes in ``driver.log`` (Jendrik Seipp).


v8.2 (2024-05-06)
Expand Down
2 changes: 1 addition & 1 deletion downward/parsers/exitcode_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def parse_exit_code(content, props):
use_legacy_exit_codes = False
break

exitcode = props["planner_exit_code"]
exitcode = props.get("planner_exit_code")
outcome = outcomes.get_outcome(exitcode, use_legacy_exit_codes)
props["error"] = outcome.msg
if use_legacy_exit_codes:
Expand Down

0 comments on commit dcad373

Please sign in to comment.