Skip to content

Commit 1eafbe6

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ public boolean deleteVMSnapshot(Long vmSnapshotId) {
649649
} catch (InterruptedException e) {
650650
throw new RuntimeException("Operation is interrupted", e);
651651
} catch (java.util.concurrent.ExecutionException e) {
652-
throw new RuntimeException("Execution exception", e);
652+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous delete VM snapshot job", e);
653653
}
654654

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

0 commit comments

Comments
 (0)