mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
ignore empty script errors, line 0 gives us nothing.
This commit is contained in:
parent
ffe06fbcb5
commit
45adeacd45
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue