mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 17:45:34 +08:00
Make logster ignore Rack::QueryParser::InvalidParameterError
errors.
This commit is contained in:
parent
c128e421c4
commit
900dec5bc1
@ -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…
x
Reference in New Issue
Block a user