From 3367ecc71cda30ccb51838f2c9316e13f582b50a Mon Sep 17 00:00:00 2001 From: wilderrodrigues Date: Thu, 25 Jun 2015 12:09:09 +0200 Subject: [PATCH] Improving exception message - Adding both ID and UUID of the host Signed-off-by: wilderrodrigues --- server/src/com/cloud/resource/ResourceManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/resource/ResourceManagerImpl.java b/server/src/com/cloud/resource/ResourceManagerImpl.java index 5e6322eca1b..00bdb92e980 100644 --- a/server/src/com/cloud/resource/ResourceManagerImpl.java +++ b/server/src/com/cloud/resource/ResourceManagerImpl.java @@ -2257,7 +2257,7 @@ public class ResourceManagerImpl extends ManagerBase implements ResourceManager, } final boolean isUpdated = doUpdateHostPassword(host.getId()); if (!isUpdated) { - throw new CloudRuntimeException("CloudStack failed to update the password of the Host with ID ==> " + host.getId() + ". Please make sure you are still able to connect to your hosts."); + throw new CloudRuntimeException("CloudStack failed to update the password of the Host with UUID/ID ==> " + host.getUuid() + "/" + host.getId() + ". Please make sure you are still able to connect to your hosts."); } }