mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Rethrow takeVMSnapshot() exception instead of returning null in VMSnapshotManagerImpl (#3761)
Fixes: #3518
This commit is contained in:
parent
a77d74ba0d
commit
8792070f84
@ -515,7 +515,7 @@ public class VMSnapshotManagerImpl extends MutualExclusiveIdsManagerBase impleme
|
||||
return snapshot;
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Failed to create vm snapshot: " + vmSnapshotId, e);
|
||||
return null;
|
||||
throw new CloudRuntimeException("Failed to create vm snapshot: " + vmSnapshotId, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user