Skip to content

Commit

Permalink
Sentry plugin uses kwargs for Ruby 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Feb 11, 2024
1 parent 2d1f616 commit 2c2c22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sentry/lib/samson_sentry/samson_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ class SamsonPlugin < Rails::Engine

Samson::Hooks.callback :error do |exception, **options|
sentry_options = options.slice(:contexts, :extra, :tags, :user, :level, :fingerprint)
Sentry.capture_exception(exception, sentry_options)
Sentry.capture_exception(exception, **sentry_options)
end

0 comments on commit 2c2c22e

Please sign in to comment.