Skip to content

Commit 7cdba5f

Browse files
committed
Addressed @nvazquez suggested change
Will log the exception instead the exception message
1 parent 0f0c6ac commit 7cdba5f

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
@@ -1315,7 +1315,7 @@ private VolumeVO orchestrateResizeVolume(long volumeId, long currentSize, long n
13151315
return volume;
13161316

13171317
} catch (Exception e) {
1318-
throw new CloudRuntimeException(String.format("Failed to resize volume operation of volume UUID: [%s] due to - %s", volume.getUuid(), e.getMessage()));
1318+
throw new CloudRuntimeException(String.format("Failed to resize volume operation of volume UUID: [%s] due to - %s", volume.getUuid(), e.getMessage()), e);
13191319
}
13201320
}
13211321

0 commit comments

Comments
 (0)