summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-08-20 15:22:51 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-08-20 15:22:51 +0200
commit11b213e0571954d325026741c67330788556b7b7 (patch)
treedfe353af2a84cca7bb77e789d894a8a12d0b09b3
parent164a1a7cae616c15be8fac701c4e831d2c3bbeb4 (diff)
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();