mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 07:25:42 +08:00
stop logging badrequest, its just bad urls entered
This commit is contained in:
parent
24102f2636
commit
3f24e18df0
@ -25,7 +25,10 @@ if Rails.env.production?
|
||||
/^Can't verify CSRF token authenticity$/,
|
||||
|
||||
# 404s can be dealt with elsewise
|
||||
/^ActiveRecord::RecordNotFound /
|
||||
/^ActiveRecord::RecordNotFound /,
|
||||
|
||||
# bad asset requested, no need to log
|
||||
/^ActionController::BadRequest /
|
||||
]
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user