Make logster ignore Rack::QueryParser::InvalidParameterError errors.

This commit is contained in:
Guo Xiang Tan 2017-11-30 15:29:19 +08:00
parent c128e421c4
commit 900dec5bc1

View File

@ -32,7 +32,10 @@ if Rails.env.production?
/^ActiveRecord::RecordNotFound/,
# bad asset requested, no need to log
/^ActionController::BadRequest/
/^ActionController::BadRequest/,
# we can't do anything about invalid parameters
/Rack::QueryParser::InvalidParameterError/
]
end