Skip to content

Commit 9a615ee

Browse files
alexhitchinscsuich2
authored andcommitted
Issue CS-5825 Part Resolution
1 parent 6338db1 commit 9a615ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,6 +1499,7 @@ public SnapshotInfo takeSnapshot(VolumeInfo volume) {
14991499
snapshot = snapshotMgr.takeSnapshot(volume);
15001500
} catch (Exception e) {
15011501
s_logger.debug("Take snapshot: " + volume.getId() + " failed", e);
1502+
throw new ResourceAllocationException("Take snapshot for VolumeId: " + volume.getId() + " failed.", ResourceType.snapshot);
15021503
}
15031504

15041505
return snapshot;

0 commit comments

Comments
 (0)