diff options
author | Øyvind Grønnesby <oyving@verizonmedia.com> | 2019-07-31 13:44:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 13:44:31 +0200 |
commit | d6a378f4acd925a0d79608c979718d4b1e438238 (patch) | |
tree | cc8d354b17f7ae00dc1319af9a1fcd361ed57fe7 | |
parent | 4e0adc194365fee3ff5b29f6d2486ea5bea9419f (diff) | |
parent | 168b64667f822fff4015213550aa303a717003f6 (diff) |
Merge pull request #10142 from vespa-engine/ogronnesby/print-stacktrace-for-warnings
Print stacktrace for when we can't find endpoints for a deployment
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/ApplicationController.java | 5 |
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) |