mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.
This commit is contained in:
parent
49c01e2ae4
commit
1e20600eca
|
|
@ -1534,6 +1534,7 @@ public class VolumeServiceImpl implements VolumeService {
|
|||
snapshot = snapshotMgr.takeSnapshot(volume);
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Take snapshot: " + volume.getId() + " failed", e);
|
||||
throw new CloudRuntimeException("Failed to take snapshot", e);
|
||||
}
|
||||
|
||||
return snapshot;
|
||||
|
|
|
|||
Loading…
Reference in New Issue