Skip to content

Commit 0107cf3

Browse files
Update server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Co-authored-by: dahn <[email protected]>
1 parent 93d9d2e commit 0107cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3876,7 +3876,7 @@ private Snapshot takeSnapshotInternal(Long volumeId, Long policyId, Long snapsho
38763876
} catch (InterruptedException e) {
38773877
throw new RuntimeException("Operation is interrupted", e);
38783878
} catch (ExecutionException e) {
3879-
throw new RuntimeException("Execution exception", e);
3879+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous take volume snapshot job", e);
38803880
}
38813881

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

0 commit comments

Comments
 (0)