Improving exception message

- Adding both ID and UUID of the host

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This commit is contained in:
wilderrodrigues 2015-06-25 12:09:09 +02:00
parent 284e2d68e1
commit 3367ecc71c
1 changed files with 1 additions and 1 deletions

View File

@ -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.");
}
}