shwstppr commented on code in PR #8674: URL: https://github.com/apache/cloudstack/pull/8674#discussion_r1627566381
########## server/src/main/java/com/cloud/user/AccountManagerImpl.java: ########## @@ -425,6 +428,17 @@ public void setQuerySelectors(List<QuerySelector> querySelectors) { _querySelectors = querySelectors; } + protected void deleteWebhooksForAccount(long accountId) { + try { + WebhookHelper webhookService = ComponentContext.getDelegateComponentOfType(WebhookHelper.class); + webhookService.deleteWebhooksForAccount(accountId); + } catch (NoSuchBeanDefinitionException ignored) { + if (logger.isDebugEnabled()) { + logger.debug("No WebhookHelper bean found"); + } Review Comment: ```suggestion logger.debug("No WebhookHelper bean found"); ``` -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org