Skip to content

Commit

Permalink
JENKINS-38991 - Added additional logging info for each Throwable in a…
Browse files Browse the repository at this point in the history
…n ExceptionCollection
  • Loading branch information
stevespringett committed Oct 17, 2016
1 parent fb221bf commit 2ea13b3
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -105,7 +105,9 @@ public boolean performBuild() {
} catch (ExceptionCollection ec) {
log(Messages.Failure_Collection());
for (Throwable t: ec.getExceptions()) {
log(t.getMessage());
log("Exception Caught: " + t.getClass().getCanonicalName());
log("Cause: " + t.getCause().getMessage());
log("Message: " + t.getMessage());
}
} finally {
Settings.cleanup(true);
Expand Down

0 comments on commit 2ea13b3

Please sign in to comment.