diff options
author | Håkon Hallingstad <hakon@yahoo-inc.com> | 2016-10-31 15:04:29 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahoo-inc.com> | 2016-10-31 15:04:29 +0100 |
commit | e22ebcff4979ad0f065e3e0572e05827d4ff8969 (patch) | |
tree | 4e8c30775d321fd890ae52ceeeeffbe3e8f9306f /orchestrator/src | |
parent | 42d9b2820570eb0845bffeeb18fe583c5fa2b9d8 (diff) |
Actually avoid logging stacktrace
Diffstat (limited to 'orchestrator/src')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java index bbbefa44373..80c625f0c40 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/HostResource.java @@ -56,7 +56,7 @@ public class HostResource implements HostApi { log.log(LogLevel.INFO, "Host not found: " + hostName); throw new NotFoundException(e); } catch (HostStateChangeDeniedException e) { - log.log(LogLevel.INFO, "Failed to suspend " + hostName + ": " + e.getMessage(), e); + log.log(LogLevel.INFO, "Failed to suspend " + hostName + ": " + e.getMessage()); throw webExceptionWithDenialReason(hostName, e); } return new UpdateHostResponse(hostName.s(), null); @@ -71,7 +71,7 @@ public class HostResource implements HostApi { log.log(LogLevel.INFO, "Host not found: " + hostName); throw new NotFoundException(e); } catch (HostStateChangeDeniedException e) { - log.log(LogLevel.INFO, "Failed to resume " + hostName + ": " + e.getMessage(), e); + log.log(LogLevel.INFO, "Failed to resume " + hostName + ": " + e.getMessage()); throw webExceptionWithDenialReason(hostName, e); } return new UpdateHostResponse(hostName.s(), null); |