mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Avoid logging routing errors (#20622)
The logs are usually caused by the client and is of no use to us.
This commit is contained in:

committed by
GitHub

parent
87ec058b8b
commit
0d9efa938b
@ -10,6 +10,7 @@ module Middleware
|
||||
Rack::QueryParser::InvalidParameterError,
|
||||
ActionController::BadRequest,
|
||||
ActionDispatch::Http::Parameters::ParseError,
|
||||
ActionController::RoutingError,
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user