diff --git a/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java index 8679221107d..02add0db174 100644 --- a/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java +++ b/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java @@ -1895,7 +1895,8 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic } else if (jobResult instanceof ResourceAllocationException) { throw (ResourceAllocationException)jobResult; } else if (jobResult instanceof Throwable) { - throw new RuntimeException("Unexpected exception", (Throwable)jobResult); + Throwable throwable = (Throwable) jobResult; + throw new RuntimeException(String.format("Unexpected exception: %s", throwable.getMessage()), throwable); } }