mirror of https://github.com/apache/cloudstack.git
Issue CS-5825 Part Resolution
This commit is contained in:
parent
6338db1f9a
commit
9a615ee7b2
|
|
@ -1499,6 +1499,7 @@ public class VolumeServiceImpl implements VolumeService {
|
|||
snapshot = snapshotMgr.takeSnapshot(volume);
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Take snapshot: " + volume.getId() + " failed", e);
|
||||
throw new ResourceAllocationException("Take snapshot for VolumeId: " + volume.getId() + " failed.", ResourceType.snapshot);
|
||||
}
|
||||
|
||||
return snapshot;
|
||||
|
|
|
|||
Loading…
Reference in New Issue