koushik-das commented on a change in pull request #1832: CLOUDSTACK-9652 Job
framework - Cancelling async jobs
URL: https://github.com/apache/cloudstack/pull/1832#discussion_r114276088
##########
File path:
plugins/hypervisors/hyperv/src/org/apache/cloudstack/storage/motion/HypervStorageMotionStrategy.java
##########
@@ -136,7 +137,7 @@ private Answer migrateVmWithVolumes(VMInstanceVO vm,
VirtualMachineTO to, Host s
}
return answer;
- } catch (OperationTimedoutException e) {
+ } catch (OperationTimedoutException | OperationCancelledException e) {
Review comment:
The AgentUnavailableException says the message as operation timed out even
for a cancelled exception, should it be handled properly?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services