mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 19:45:41 +08:00
ignore empty script errors, line 0 gives us nothing.
This commit is contained in:
parent
ffe06fbcb5
commit
45adeacd45
@ -20,6 +20,9 @@ if Rails.env.production?
|
||||
#
|
||||
/(?m).*?Line: (?:\D|0).*?Column: (?:\D|0)/,
|
||||
|
||||
# also empty JS errors
|
||||
/^Script error\..*Line: 0/m,
|
||||
|
||||
# CSRF errors are not providing enough data
|
||||
# suppress unconditionally for now
|
||||
/^Can't verify CSRF token authenticity$/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user