karuturi commented on a change in pull request #1832: CLOUDSTACK-9652 Job framework - Cancelling async jobs URL: https://github.com/apache/cloudstack/pull/1832#discussion_r116165984
########## File path: plugins/hypervisors/xenserver/src/com/cloud/ha/XenServerFencer.java ########## @@ -75,12 +76,7 @@ public Boolean fenceOff(VirtualMachine vm, Host host) { continue; } answer = (FenceAnswer)ans; - } catch (AgentUnavailableException e) { - if (s_logger.isDebugEnabled()) { - s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable"); - } - continue; - } catch (OperationTimedoutException e) { + } catch (AgentUnavailableException | OperationCancelledException | OperationTimedoutException e) { Review comment: done ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services