module LogrageRailsRequestQueuing::SilenceExceptionLogging
Meant to be prepended in ActionDispatch::DebugExceptions like this:
ActionDispatch::DebugExceptions.prepend( LogrageRailsRequestQueuing::SilenceExceptionLogging )
Public Instance Methods
log_error(*_args)
click to toggle source
Normally ActionDispatch::DebugExceptions will print exception details and a full stacktrace to the Rails log. This stops that behavior:
# File lib/lograge_rails_request_queuing/silence_exception_logging.rb, line 11 def log_error *_args # pass end