Skip to content

Commit

Permalink
feat(CE): sentry destinator connector
Browse files Browse the repository at this point in the history
  • Loading branch information
Raushan Kumar Raman committed Dec 13, 2024
1 parent 3a5a711 commit 09ee824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09ee824

Please sign in to comment.