Skip to content

Commit

Permalink
even better
Browse files Browse the repository at this point in the history
  • Loading branch information
beauraF committed Oct 16, 2024
1 parent fc9249a commit d46ed49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/log_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def mode_from(options)
end

def log_exception(name, e)
error_reporter.report(e) if error_reporter
error_reporter.report(e)

if logger
logger.error "Could not log #{name.inspect} event. #{e.class}: #{e.message} #{e.backtrace}"
Expand Down

0 comments on commit d46ed49

Please sign in to comment.