Skip to content

Commit 93d9d2e

Browse files
Update server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
1 parent 1eb3f65 commit 93d9d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3534,7 +3534,7 @@ public Volume migrateVolume(MigrateVolumeCmd cmd) {
35343534
} catch (InterruptedException e) {
35353535
throw new RuntimeException("Operation is interrupted", e);
35363536
} catch (ExecutionException e) {
3537-
throw new RuntimeException("Execution exception", e);
3537+
throw new CloudRuntimeException("Execution exception getting the outcome of the asynchronous migrate volume job", e);
35383538
}
35393539

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

0 commit comments

Comments
 (0)