Sha256: 6d3ee27710a5143480a291cf71de7c91fba7b243e688613aa74e60bd893efd29

Contents?: true

Size: 289 Bytes

Versions: 17

Compression:

Stored size: 289 Bytes

Contents

# Log actual exceptions, not a string representation
ActionDispatch::DebugExceptions
class ActionDispatch::DebugExceptions
  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
rails_semantic_logger-4.2.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.2.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.1.3 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.1.2 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.1.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.1.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.0.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.0.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.0.0.rc1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.0.0.beta2 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-4.0.0.beta1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.4.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.4.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.3.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.3.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.1.1 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb
rails_semantic_logger-3.1.0 lib/rails_semantic_logger/extensions/action_dispatch/debug_exceptions.rb