mirror of
https://github.com/discourse/discourse.git
synced 2025-04-08 02:50:44 +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$/,
|
/^Can't verify CSRF token authenticity$/,
|
||||||
|
|
||||||
# 404s can be dealt with elsewise
|
# 404s can be dealt with elsewise
|
||||||
/^ActiveRecord::RecordNotFound /
|
/^ActiveRecord::RecordNotFound /,
|
||||||
|
|
||||||
|
# bad asset requested, no need to log
|
||||||
|
/^ActionController::BadRequest /
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user