Skip to content

Commit e208bbb

Browse files
sugested log message improvement
Co-authored-by: Nicolas Vazquez <[email protected]>
1 parent f3085a6 commit e208bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ public Pair<String, List<UnmanagedInstanceTO>> listVMsInDatacenter(ListVmwareDcV
15991599
if (com.cloud.utils.StringUtils.isNotBlank(host)) {
16001600
ManagedObjectReference hostMor = dcMo.findHost(host);
16011601
if (hostMor == null) {
1602-
throw new VmwareClientException(String.format("no host '%s' found.",host));
1602+
throw new VmwareClientException(String.format("No host '%s' found on DC: %s.", host, dcMo.getName()));
16031603
}
16041604
HostMO hostMo = new HostMO(context, hostMor);
16051605
return hostMo.getVms(maxObjects, token);

0 commit comments

Comments
 (0)