reevoo/sapience-rb

View on GitHub
lib/sapience/extensions/action_controller/live.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
# Log actual exceptions, not a string representation

module ActionController::Live # rubocop:disable ClassAndModuleChildren
  undef_method :log_error
  def log_error(exception)
    logger.fatal(exception)
  end
end