Skip to content

Commit

Permalink
Account for status that indicates Cromwell server issue
Browse files Browse the repository at this point in the history
  • Loading branch information
avarsava committed Nov 11, 2024
1 parent 7487694 commit 2fa4aa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changes/fix_fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Account for Cromwell server issue

Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ private void check(EngineState state, WorkMonitor<Result<String>, EngineState> m
return null;
});
break;
// Cromwell has become unavailable or there was a problem initializing the
// Cromwell job. Don't ask Cromwell for more information, just die
case "fail":
monitor.permanentFailure("Cromwell server issue for " + result.getId() + ": " + result.getStatus());
break;
case "Succeeded":
finish(state, monitor);
break;
Expand Down

0 comments on commit 2fa4aa4

Please sign in to comment.