Skip to content

Commit 46428f8

Browse files
authored
Change log level from debug to error on host update failure
1 parent 8ff694a commit 46428f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/host/UpdateHostCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void execute() {
147147
this.setResponseObject(hostResponse);
148148
} catch (Exception e) {
149149
Host host = _entityMgr.findById(Host.class, getId());
150-
logger.debug("Failed to update {}", host, e);
150+
logger.error("Failed to update {}", host, e);
151151
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, String.format("Failed to update host: %s with id %d, %s", host, getId(), e.getMessage()));
152152
}
153153
}

0 commit comments

Comments
 (0)