From 7a522fa4780c205f82d628d2457bfc3df710f23b Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Fri, 18 Dec 2020 16:02:16 +0100 Subject: [PATCH] Use $stderr instead of STDERR as suggested by rubocop --- config/initializers/error_notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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