Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit 0ef289b

Browse files
authored
Merge pull request #4128 from envato/rollbar-require
Require `ErrorNotifier` before usage in Rollbar plugin
2 parents 495c0ac + d3773f4 commit 0ef289b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/rollbar/config/initializers/rollbar.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"ignored" if Samson::Hooks.fire(:ignore_error, options[:exception].class.name).any?
2222
end
2323

24+
require 'samson/error_notifier'
2425
Rollbar::UserInformer.user_information_placeholder = Samson::ErrorNotifier::USER_INFORMATION_PLACEHOLDER
2526
Rollbar::UserInformer.user_information = <<~HTML
2627
<br/><br/>

0 commit comments

Comments
 (0)