mirror of https://github.com/apache/cloudstack.git
Fix on error reporting (null doesn't say much, so lets return the actual problem)
This commit is contained in:
parent
c428d60e6b
commit
1237ded02e
|
|
@ -938,7 +938,7 @@ Configurable, StateListener<State, VirtualMachine.Event, VirtualMachine> {
|
|||
for (final Site2SiteVpnConnectionVO conn : conns) {
|
||||
final Site2SiteVpnConnectionVO lock = _s2sVpnConnectionDao.acquireInLockTable(conn.getId());
|
||||
if (lock == null) {
|
||||
throw new CloudRuntimeException("Unable to acquire lock on " + lock);
|
||||
throw new CloudRuntimeException("Unable to acquire lock for site to site vpn connection id " + conn.getId());
|
||||
}
|
||||
try {
|
||||
if (conn.getState() != Site2SiteVpnConnection.State.Connected && conn.getState() != Site2SiteVpnConnection.State.Disconnected) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue