fix: Handle all types of errors in API channel webhooks (#8307)

This commit is contained in:
Muhsin Keloth
2023-11-07 12:54:49 +05:30
committed by GitHub
parent 677888bcde
commit 3eb1d49577

View File

@@ -13,7 +13,7 @@ class Webhooks::Trigger
def execute
perform_request
rescue RestClient::Exceptions::Timeout, RestClient::ExceptionWithResponse => e
rescue StandardError => e
handle_error(e)
Rails.logger.warn "Exception: Invalid webhook URL #{@url} : #{e.message}"
end