Skip to content

Commit 53e5375

Browse files
Update server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
1 parent 1eafbe6 commit 53e5375

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ public boolean deleteAllVMSnapshots(long vmId, VMSnapshot.Type type) {
10251025
} catch (InterruptedException e) {
10261026
throw new RuntimeException("Operation is interrupted", e);
10271027
} catch (java.util.concurrent.ExecutionException e) {
1028-
throw new RuntimeException("Execution exception", e);
1028+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous delete snapshots job", e);
10291029
}
10301030

10311031
Object jobResult = _jobMgr.unmarshallResultObject(outcome.getJob());

0 commit comments

Comments
 (0)