Skip to content

Commit f716a35

Browse files
Update server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
Co-authored-by: dahn <[email protected]>
1 parent 8878688 commit f716a35

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
@@ -774,7 +774,7 @@ public UserVm revertToSnapshot(Long vmSnapshotId) throws InsufficientCapacityExc
774774
} catch (InterruptedException e) {
775775
throw new RuntimeException("Operation is interrupted", e);
776776
} catch (java.util.concurrent.ExecutionException e) {
777-
throw new RuntimeException("Execution exception", e);
777+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous revert to snapshot job", e);
778778
}
779779

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

0 commit comments

Comments
 (0)