Skip to content

Commit cefb185

Browse files
authored
Improve error message for unavailable guest network
1 parent 85a4c14 commit cefb185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ public void start(final String vmUuid, final Map<VirtualMachineProfile.Param, Ob
935935
throw new CloudRuntimeException(String.format("Unable to start a VM [%s] due to [%s].", vmUuid, e.getMessage()), e).add(VirtualMachine.class, vmUuid);
936936
} catch (final ResourceUnavailableException e) {
937937
if (e.getScope() != null && e.getScope().equals(VirtualRouter.class)){
938-
throw new CloudRuntimeException("The Guest Network is unavailable. Please contact administrator", e.getMessage()).add(VirtualMachine.class, vmUuid);
938+
throw new CloudRuntimeException("The Guest Network is unavailable. Please contact administrator: " + e.getMessage()).add(VirtualMachine.class, vmUuid);
939939
}
940940
throw new CloudRuntimeException(String.format("Unable to start a VM [%s] due to [%s].", vmUuid, e.getMessage()), e).add(VirtualMachine.class, vmUuid);
941941
}

0 commit comments

Comments
 (0)