mirror of https://github.com/apache/cloudstack.git
AsyncJob reports 'Successful' even if RevertToVMSnapshot operation fails.
This closes #484
This commit is contained in:
parent
bcfb8240e1
commit
92a9ee097d
|
|
@ -709,7 +709,7 @@ public class VMSnapshotManagerImpl extends ManagerBase implements VMSnapshotMana
|
|||
return userVm;
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Failed to revert vmsnapshot: " + vmSnapshotId, e);
|
||||
return null;
|
||||
throw new CloudRuntimeException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue