We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd0191 commit c1494fdCopy full SHA for c1494fd
1 file changed
opencga-master/src/main/java/org/opencb/opencga/master/monitor/daemons/ExecutionDaemon.java
@@ -1036,6 +1036,9 @@ private Enums.ExecutionStatus getCurrentStatus(Job job) {
1036
// Check if analysis result file is there
1037
ExecutionResult execution = readExecutionResult(job, EXECUTION_RESULT_FILE_EXPIRATION_SECONDS);
1038
if (execution != null) {
1039
+ if (execution.getStatus().getName() == Status.Type.ERROR && job.getInternal().isKillJobRequested()) {
1040
+ return new Enums.ExecutionStatus(Enums.ExecutionStatus.ABORTED);
1041
+ }
1042
return new Enums.ExecutionStatus(execution.getStatus().getName().name());
1043
}
1044
0 commit comments