Module: LogrageRailsRequestQueuing::SilenceExceptionLogging
- Defined in:
- lib/lograge_rails_request_queuing/silence_exception_logging.rb
Overview
Meant to be prepended in ActionDispatch::DebugExceptions like this:
ActionDispatch::DebugExceptions.prepend(
LogrageRailsRequestQueuing::SilenceExceptionLogging
)
Instance Method Summary collapse
-
#log_error(*_args) ⇒ Object
Normally ActionDispatch::DebugExceptions will print exception details and a full stacktrace to the Rails log.
Instance Method Details
#log_error(*_args) ⇒ Object
Normally ActionDispatch::DebugExceptions will print exception details and a full stacktrace to the Rails log. This stops that behavior:
11 12 13 |
# File 'lib/lograge_rails_request_queuing/silence_exception_logging.rb', line 11 def log_error *_args # pass end |