more flexible regex to block empty JS Logster errors

This commit is contained in:
Jeff Atwood 2015-01-16 17:36:18 -08:00
parent 77ae0b4f7f
commit 18215f90d0
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if Rails.env.production?
# Column: 0 # Column: 0
# Window Location: http://discourse.codinghorror.com/t/the-god-login/2924/19 # Window Location: http://discourse.codinghorror.com/t/the-god-login/2924/19
# #
/^Script error.\nUrl: \nLine: 0?\n/, /(?m)\AScript error\..*?Line: 0.*?Column: 0/,
# suppress trackback spam bots # suppress trackback spam bots
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }), Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }),