DaanHoogland commented on a change in pull request #4721:
URL: https://github.com/apache/cloudstack/pull/4721#discussion_r660344968



##########
File path: 
engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
##########
@@ -1932,8 +1932,9 @@ public void copyAsync(Map<VolumeInfo, DataStore> 
volumeDataStoreMap, VirtualMach
             errMsg = String.format("Copy volume(s) to storage(s) [%s] and VM 
to host [%s] failed in StorageSystemDataMotionStrategy.copyAsync. Error 
message: [%s].", volumesAndStorages, 
formatMigrationElementsAsJsonToDisplayOnLog("vm", vmTO.getId(), 
srcHost.getId(), destHost.getId()), ex.getMessage());
             LOGGER.error(errMsg, ex);
 
-            throw new CloudRuntimeException(errMsg);
-        } finally {
+            throw new CloudRuntimeException(errMsg, ex);

Review comment:
       You are right @sureshanaparti, I missed that line above. I must have 
solved something I saw in a different location than where it actually occured, 
because I didn't see a stack trace when I created this. closing




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to