DaanHoogland commented on code in PR #8031:
URL: https://github.com/apache/cloudstack/pull/8031#discussion_r1351627754


##########
server/src/main/java/com/cloud/storage/StorageManagerImpl.java:
##########
@@ -1456,7 +1471,7 @@ public void cleanupStorage(boolean recurring) {
                                 }
                             }
                         } catch (Throwable th) {
-                            s_logger.warn("Unable to destroy uploaded template 
" + template.getUuid() + ". Error details: " + th.getMessage());
+                            s_logger.error(String.format("Unable to destroy 
uploaded template [%s] due to: [%s].", template.getUuid(), th.getMessage()), 
th);

Review Comment:
   ```suggestion
                               s_logger.error(String.format("Unable to destroy 
uploaded template [%s] due to: [%s].", template.getUuid(), th.getMessage()));
                               s_logger.debug(String.format("Unable to destroy 
uploaded template [%s].", template.getUuid()), th);
   ```



-- 
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]

Reply via email to