mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Make logster ignore Rack::QueryParser::InvalidParameterError
errors.
This commit is contained in:
parent
c128e421c4
commit
900dec5bc1
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue