Sha256: abb3b533655b4bbd357dad763c71cf03b527f79f5d4752a38dce740f39c44510

Contents?: true

Size: 225 Bytes

Versions: 10

Compression:

Stored size: 225 Bytes

Contents

# Log actual exceptions, not a string representation
require "action_controller"

module ActionController
  module Live
    undef_method :log_error
    def log_error(exception)
      logger.fatal(exception)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_semantic_logger-4.17.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.16.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.15.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.14.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.13.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.12.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.11.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.10.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.9.0 lib/rails_semantic_logger/extensions/action_controller/live.rb
rails_semantic_logger-4.6.2 lib/rails_semantic_logger/extensions/action_controller/live.rb