summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-20 18:32:18 +0200
committerGitHub <noreply@github.com>2018-08-20 18:32:18 +0200
commit8e3ba08f1d3b79e573864726c6c03e58862feee6 (patch)
tree702926f406668385e593068e8ad81521422b052c
parent9c58236be4f3ef33dc57b5265b95c427dfa5fcf6 (diff)
parent11b213e0571954d325026741c67330788556b7b7 (diff)
Merge pull request #6634 from vespa-engine/jvenstad/testrunner-logging
Actually log with the exception
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
index e87db02c9bd..39b81baa023 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
@@ -114,7 +114,7 @@ public class InternalStepRunner implements StepRunner {
return Optional.empty();
}
catch (RuntimeException e) {
- logger.log(INFO, "Unexpected exception running " + id + ": " + Exceptions.toMessageString(e));
+ logger.log(INFO, "Unexpected exception running " + id, e);
if (JobProfile.of(id.type()).alwaysRun().contains(step.get())) {
logger.log("Will keep trying, as this is a cleanup step.");
return Optional.empty();