Skip to content

Commit 8fa607e

Browse files
erikbocksCopilot
andauthored
Enhance error logging for image store retrieval failure
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0874406 commit 8fa607e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/template/TemplateManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ public VirtualMachineTemplate linkUserDataToTemplate(LinkUserDataToTemplateCmd c
24812481
}
24822482

24832483
private void throwExceptionForImageStoreObtentionFailure(Long zoneId, String operation) {
2484-
logger.error("Cannot find an image store for zone [{}].", zoneId);
2484+
logger.error("Cannot find an image store for zone [{}] while trying to {}.", zoneId, operation);
24852485
throw new CloudRuntimeException(String.format("Failed to %s. Please contact the cloud administrator.", operation));
24862486
}
24872487
}

0 commit comments

Comments
 (0)