mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3387: deleteTemplate - log the exception message when delete command fails
This commit is contained in:
parent
33b6e304c2
commit
833c83d7f7
|
|
@ -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