daviftorres commented on code in PR #11981:
URL: https://github.com/apache/cloudstack/pull/11981#discussion_r2500149196
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -935,7 +935,7 @@ public void start(final String vmUuid, final
Map<VirtualMachineProfile.Param, Ob
throw new CloudRuntimeException(String.format("Unable to start a
VM [%s] due to [%s].", vmUuid, e.getMessage()), e).add(VirtualMachine.class,
vmUuid);
} catch (final ResourceUnavailableException e) {
if (e.getScope() != null &&
e.getScope().equals(VirtualRouter.class)){
- throw new CloudRuntimeException("Network is unavailable.
Please contact administrator", e).add(VirtualMachine.class, vmUuid);
+ throw new CloudRuntimeException("The Guest Network is
unavailable. Please contact administrator",
e.getMessage()).add(VirtualMachine.class, vmUuid);
Review Comment:
@DaanHoogland
Is this better? I did not use the parametrized string format for minimum
changes to the diff. If you prefer I can go that route.
--
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]