mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.
This commit is contained in:
parent
a6d575b127
commit
0db0e5e3cc
@ -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…
x
Reference in New Issue
Block a user