diff --git a/activesupport/lib/active_support/log_subscriber.rb b/activesupport/lib/active_support/log_subscriber.rb index e5ce0b6ad35d..4e0db5225c45 100644 --- a/activesupport/lib/active_support/log_subscriber.rb +++ b/activesupport/lib/active_support/log_subscriber.rb @@ -184,7 +184,7 @@ def mode_from(options) end def log_exception(name, e) - ActiveSupport.error_reporter.report(e) + ActiveSupport.error_reporter.report(e, source: name) if logger logger.error "Could not log #{name.inspect} event. #{e.class}: #{e.message} #{e.backtrace}"