diff --git a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java index c47a6cf38ed..07843f0c47d 100755 --- a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java @@ -388,7 +388,9 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma if (!backedUp) { throw new CloudRuntimeException("Created snapshot: " + snapshot + " on primary but failed to backup on secondary"); } - } + } else { + throw new CloudRuntimeException("Failed to create snapshot: " + snapshot + " on primary storage"); + } } finally { // Cleanup jobs to do after the snapshot has been created; decrement resource count if (snapshot != null) {