mirror of
https://github.com/apache/cloudstack
synced 2026-08-11 08:28:00 +00:00
CLOUDSTACK-3387: deleteTemplate - log the exception message when delete command fails
This commit is contained in:
parent
73786c373a
commit
5f7b257fde
@ -246,6 +246,8 @@ public class HypervisorTemplateAdapter extends TemplateAdapterBase {
|
||||
TemplateApiResult result = future.get();
|
||||
success = result.isSuccess();
|
||||
if (!success) {
|
||||
s_logger.warn("Failed to delete the template " + template +
|
||||
" from the image store: " + imageStore.getName() + " due to: " + result.getResult());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user