Sha256: bd25bb6275cc19792e398ac8a83e65d14d9e79c870fa4ec9fecd07b940fb70e1

Contents?: true

Size: 316 Bytes

Versions: 15

Compression:

Stored size: 316 Bytes

Contents

# Log actual exceptions, not a string representation
ActionDispatch::DebugExceptions
module ActionDispatch
  class DebugExceptions
    private

    def log_error(_request, wrapper)
      ActiveSupport::Deprecation.silence do
        ActionController::Base.logger.fatal(wrapper.exception)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails_semantic_logger-4.6.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.5.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.5.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.6 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.5 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.4 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.3 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.2 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.4.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.3.4 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.3.3 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.3.2 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.3.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.3.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb