From 09ee824dd91f6d799475fae7da142118860b6f4d Mon Sep 17 00:00:00 2001 From: Raushan Kumar Raman Date: Fri, 13 Dec 2024 23:02:45 +0530 Subject: [PATCH] feat(CE): sentry destinator connector --- .../lib/multiwoven/integrations/destination/sentry/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/lib/multiwoven/integrations/destination/sentry/client.rb b/integrations/lib/multiwoven/integrations/destination/sentry/client.rb index 19c8220b..8a8d9296 100644 --- a/integrations/lib/multiwoven/integrations/destination/sentry/client.rb +++ b/integrations/lib/multiwoven/integrations/destination/sentry/client.rb @@ -76,7 +76,7 @@ def configure_sentry(connection_config) config.background_worker_threads = connection_config[:worker_threads] || 5 config.excluded_exceptions = connection_config[:excluded_exceptions] || [] - config.before_send = lambda do |_even, hint| + config.before_send = lambda do |event, hint| if hint[:exception] && config.excluded_exceptions.any? { |e| hint[:exception].is_a?(e) } nil else