Class: NdrError::Middleware::PublicExceptions

Inherits:
Recorder
  • Object
show all
Defined in:
lib/ndr_error/middleware/public_exceptions.rb

Overview

Middleware for logging exceptions, can be used as exception_app for Rails.

Instance Method Summary collapse

Methods inherited from Recorder

#call

Constructor Details

#initialize(public_path) ⇒ PublicExceptions

Returns a new instance of PublicExceptions.



5
6
7
# File 'lib/ndr_error/middleware/public_exceptions.rb', line 5

def initialize(public_path)
  super ::ActionDispatch::PublicExceptions.new(public_path)
end