aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java
index cb449f01286..677e9e960e8 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java
@@ -621,8 +621,7 @@ public class ApplicationController {
.iterator());
}
catch (RuntimeException e) {
- log.log(Level.WARNING, "Failed to get endpoint information for " + deploymentId + ": "
- + Exceptions.toMessageString(e));
+ log.log(Level.WARNING, "Failed to get endpoint information for " + deploymentId, e);
return Collections.emptyList();
}
}
@@ -641,7 +640,7 @@ public class ApplicationController {
return endpoints;
}
catch (RuntimeException e) {
- log.log(Level.WARNING, "Failed to get endpoint information for " + id + ": " + Exceptions.toMessageString(e));
+ log.log(Level.WARNING, "Failed to get endpoint information for " + id, e);
}
return routingPolicies.get(id).stream()
.filter(policy -> policy.endpointIn(controller.system()).scope() == Endpoint.Scope.zone)