diff --git a/config/initializers/error_notifier.rb b/config/initializers/error_notifier.rb index b2a2b86792..7a6d1e1b45 100644 --- a/config/initializers/error_notifier.rb +++ b/config/initializers/error_notifier.rb @@ -7,7 +7,7 @@ Rollbar.configure do |config| # Avoid a loop between our logger (who sends errors through rollbar) # and rollbar itself when it cannot send an error to rollbar service - config.logger = Logger.new(STDERR) + config.logger = Logger.new($stderr) # Add exception class names to the exception_level_filters hash to # change the level that exception is reported at. Note that if an exception