Skip to content

Commit

Permalink
Merge pull request #4128 from envato/rollbar-require
Browse files Browse the repository at this point in the history
Require `ErrorNotifier` before usage in Rollbar plugin
  • Loading branch information
grosser authored Jan 30, 2025
2 parents 495c0ac + d3773f4 commit 0ef289b
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 0ef289b

Please sign in to comment.