mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 08:14:39 +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,
|
Rack::QueryParser::InvalidParameterError,
|
||||||
ActionController::BadRequest,
|
ActionController::BadRequest,
|
||||||
ActionDispatch::Http::Parameters::ParseError,
|
ActionDispatch::Http::Parameters::ParseError,
|
||||||
|
ActionController::RoutingError,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user