Sha256: 4f5e8cfb948fe92fe1eb6d0470adb97e04b6c3c6a2bf07f50e3c23c25b16e068

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

# Log actual exceptions, not a string representation
ActionController::Live
module ActionController
  module Live
    undef_method :log_error
    def log_error(exception)
      logger.fatal(exception)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_semantic_logger-4.6.1 lib/rails_semantic_logger/extensions/action_controller/live.rb