Skip to content

Commit

Permalink
Include exit code in IOFailure exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Asger Askov Blekinge committed Nov 25, 2021
1 parent 802c4d7 commit 75bc6fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void run() {
log.info("{} job with jobID {} was a success!", jobType, jobID);
} else {
log.warn("{} job with ID {} failed with exit code '{}'", jobType, jobID, exitCode);
throw new IOFailure("Hadoop job failed with exit code {}");
throw new IOFailure("Hadoop job failed with exit code "+exitCode);
}
}

Expand Down

0 comments on commit 75bc6fe

Please sign in to comment.