mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
ignore a few more common meaningless JS errs
This commit is contained in:
parent
d7622f0665
commit
8b5dfeb18f
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -106,3 +106,4 @@ config/version.rb
|
|||
bundler_stubs/*
|
||||
|
||||
vendor/bundle/*
|
||||
*.db
|
||||
|
|
|
@ -28,11 +28,17 @@ if Rails.env.production?
|
|||
# suppress unconditionally for now
|
||||
/^Can't verify CSRF token authenticity$/,
|
||||
|
||||
# 404s can be dealt with elsewise
|
||||
/^ActiveRecord::RecordNotFound /,
|
||||
# Yandex bot triggers this JS error a lot
|
||||
/^Uncaught ReferenceError: I18n is not defined/,
|
||||
|
||||
# related to browser plugins somehow, we don't care
|
||||
/Error calling method on NPObject/,
|
||||
|
||||
# 404s can be dealt with elsewhere
|
||||
/^ActiveRecord::RecordNotFound/,
|
||||
|
||||
# bad asset requested, no need to log
|
||||
/^ActionController::BadRequest /
|
||||
/^ActionController::BadRequest/
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user