module RescueRegistry::ActionDispatch::ShowExceptions
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/rescue_registry/action_dispatch/show_exceptions.rb, line 4 def initialize(*args) super @exceptions_app = RescueRegistry::ExceptionsApp.new(@exceptions_app) end
Public Instance Methods
call(*args)
click to toggle source
Calls superclass method
# File lib/rescue_registry/action_dispatch/show_exceptions.rb, line 9 def call(*args) warn "Didn't expect RescueRegistry context to be set in middleware" if RescueRegistry.context super ensure RescueRegistry.context = nil end