Issue CS-5825 Part Resolution

This commit is contained in:
Alex Hitchins 2014-03-20 14:39:31 +00:00 committed by Chris Suich
parent 6338db1f9a
commit 9a615ee7b2
1 changed files with 1 additions and 0 deletions

View File

@ -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;