Skip to content

Commit 5f7b257

Browse files
author
Alena Prokharchyk
committed
CLOUDSTACK-3387: deleteTemplate - log the exception message when delete command fails
1 parent 73786c3 commit 5f7b257

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎server/src/com/cloud/template/HypervisorTemplateAdapter.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ public boolean delete(TemplateProfile profile) {
246246
TemplateApiResult result = future.get();
247247
success = result.isSuccess();
248248
if (!success) {
249+
s_logger.warn("Failed to delete the template " + template +
250+
" from the image store: " + imageStore.getName() + " due to: " + result.getResult());
249251
break;
250252
}
251253

0 commit comments

Comments
 (0)