shwstppr commented on code in PR #12336:
URL: https://github.com/apache/cloudstack/pull/12336#discussion_r4121266031


##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -656,9 +655,9 @@ public void expunge(final String vmUuid) throws 
ResourceUnavailableException {
         try {
             advanceExpunge(vmUuid);
         } catch (final OperationTimedoutException e) {
-            throw new CloudRuntimeException("Operation timed out", e);
+            throw 
Exceptions.cloudRuntimeException("vm.expunge.operation.timeout", Map.of(), e);

Review Comment:
   This error message was not having any resource detail originally so skipped 
adding them. Also, based on the callers of this error, it is used more 
internally for SSVM, CPVM, etc



-- 
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