rohityadavcloud commented on code in PR #8029:
URL: https://github.com/apache/cloudstack/pull/8029#discussion_r1345286293
##########
server/src/main/java/org/apache/cloudstack/direct/download/DirectDownloadManagerImpl.java:
##########
@@ -362,7 +364,10 @@ private Answer
sendDirectDownloadCommand(DirectDownloadCommand cmd, VMTemplateVO
}
if (!downloaded) {
logUsageEvent(template, poolId);
- throw new CloudRuntimeException("Template " + template.getId() + "
could not be downloaded on pool " + poolId + ", failing after trying on several
hosts");
+ if (!answerDetails.isEmpty()){
+ answerDetails = String.format(" Details: %s", answerDetails);
+ }
+ throw new CloudRuntimeException(String.format("Template %d could
not be downloaded on pool %d, failing after trying on several hosts%s",
template.getId(), poolId, answerDetails));
Review Comment:
Is this error sent to only admin or all user/role types @oscaralvaro ?
--
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]