sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900087982
##########
server/src/main/java/org/apache/cloudstack/ha/task/BaseHATask.java:
##########
@@ -100,7 +100,7 @@ public Boolean call() throws HACheckerException,
HAFenceException, HARecoveryExc
logger.warn("Exception occurred while running " + getTaskType() +
" on a resource: " + e.getMessage(), e.getCause());
throwable = e.getCause();
} catch (TimeoutException e) {
- logger.trace(getTaskType() + " operation timed out for resource
id:" + resource.getId());
+ logger.trace("{} operation timed out for resource id:{}",
getTaskType(), resource);
Review Comment:
```suggestion
logger.trace("{} operation timed out for resource id: {}",
getTaskType(), resource);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]