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:
Alan Guo Xiang Tan 2023-03-10 17:17:59 +08:00 committed by GitHub
parent 87ec058b8b
commit 0d9efa938b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ module Middleware
Rack::QueryParser::InvalidParameterError,
ActionController::BadRequest,
ActionDispatch::Http::Parameters::ParseError,
ActionController::RoutingError,
],
)