mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-1603: Management server .log Java Exceptions are displayed with Alerts
This commit is contained in:
parent
fa9987753c
commit
3aed20c9d2
@ -56,7 +56,7 @@ public class DefaultHostListener implements HypervisorHostListener {
|
||||
}
|
||||
|
||||
if (!answer.getResult()) {
|
||||
String msg = "Add host failed due to ModifyStoragePoolCommand failed" + answer.getDetails();
|
||||
String msg = "Unable to attach storage pool" + poolId + " to the host" + hostId;
|
||||
alertMgr.sendAlert(AlertManager.ALERT_TYPE_HOST, pool.getDataCenterId(), pool.getPodId(), msg, msg);
|
||||
throw new CloudRuntimeException("Unable establish connection from storage head to storage pool " + pool.getId() + " due to " + answer.getDetails() + pool.getId());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user