Skip to content

Commit 1eb3f65

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

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
@@ -3105,7 +3105,7 @@ public Volume detachVolumeFromVM(DetachVolumeCmd cmmd) {
31053105
} catch (InterruptedException e) {
31063106
throw new RuntimeException("Operation is interrupted", e);
31073107
} catch (ExecutionException e) {
3108-
throw new RuntimeException("Execution exception", e);
3108+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous detach volume job", e);
31093109
}
31103110

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

0 commit comments

Comments
 (0)