Skip to content

Commit eb1ddae

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 77de81f commit eb1ddae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/specify_cli/workflows/_commands.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ def _failed_step_error(state: Any) -> str | None:
898898
cur = results.get(getattr(state, "current_step_id", None))
899899
if isinstance(cur, dict) and cur.get("error"):
900900
return str(cur["error"])
901-
for sd in results.values():
901+
for sd in reversed(results.values()):
902902
if (
903903
isinstance(sd, dict)
904904
and sd.get("status") == "failed"

0 commit comments

Comments
 (0)