Sha256: 532ad76f27439de5cbc5c7a76f9b6b775df26828cf982348ca00d8527f4664cf

Contents?: true

Size: 300 Bytes

Versions: 17

Compression:

Stored size: 300 Bytes

Contents

# Log actual exceptions, not a string representation

class ActionDispatch::DebugExceptions # rubocop:disable ClassAndModuleChildren
  private

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sapience-0.2.4 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.2.3 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.2.2 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.2.1 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.2.0 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.13 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.12 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.11 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.10 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.9 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.8 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.7 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.6 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.5 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.4 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.3 lib/sapience/extensions/action_dispatch/debug_exceptions.rb
sapience-0.1.2 lib/sapience/extensions/action_dispatch/debug_exceptions.rb