Class: OpenStax::RescueFrom::MuteListener
- Inherits:
-
Object
- Object
- OpenStax::RescueFrom::MuteListener
- Defined in:
- lib/openstax/rescue_from/mute_listener.rb
Instance Method Summary collapse
Instance Method Details
#openstax_exception_rescued(proxy, _) ⇒ Object
4 5 6 7 |
# File 'lib/openstax/rescue_from/mute_listener.rb', line 4 def openstax_exception_rescued(proxy, _) Rails.logger.warn("MuteListener does nothing after rescuing " + "ExceptionProxy#error_id #=> #{proxy.error_id}") end |
#request ⇒ Object
9 10 11 |
# File 'lib/openstax/rescue_from/mute_listener.rb', line 9 def request OpenStruct.new(remote_ip: '0.0.0.0') end |