Skip to content

Commit

Permalink
Require ErrorNotifier before usage in Rollbar plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Jan 30, 2025
1 parent 495c0ac commit d3773f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/rollbar/config/initializers/rollbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"ignored" if Samson::Hooks.fire(:ignore_error, options[:exception].class.name).any?
end

require 'samson/error_notifier'
Rollbar::UserInformer.user_information_placeholder = Samson::ErrorNotifier::USER_INFORMATION_PLACEHOLDER
Rollbar::UserInformer.user_information = <<~HTML
<br/><br/>
Expand Down

0 comments on commit d3773f4

Please sign in to comment.