Skip to content

Commit

Permalink
Merge pull request #4193 from MattGill98/PAYARA-4113
Browse files Browse the repository at this point in the history
PAYARA-4113 Log Boot Command Exceptions
  • Loading branch information
MattGill98 authored Sep 4, 2019
2 parents abc2802 + 89be95a commit 5b1ff95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public boolean execute(CommandRunner runner) {
boolean result = true;
CommandResult asadminResult = runner.run(command, arguments);
if (asadminResult.getExitStatus().equals(ExitStatus.FAILURE)) {
LOGGER.log(WARNING, String.format("Boot Command %s failed %s ", command, asadminResult.getOutput()));
LOGGER.log(WARNING, String.format("Boot Command %s failed %s ", command, asadminResult.getOutput()), asadminResult.getFailureCause());
result = false;
} else {
LOGGER.log(INFO, String.format("Boot Command %s returned with result %s : %s", command, asadminResult.getExitStatus(), asadminResult.getOutput()));
Expand Down

0 comments on commit 5b1ff95

Please sign in to comment.