block empty JS errors from Logster

This commit is contained in:
Jeff Atwood 2015-01-16 17:28:50 -08:00
parent 37d73ec488
commit 77ae0b4f7f
1 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,16 @@ if Rails.env.production?
/^ActionController::UnknownFormat/,
# super annoying empty JS errors in the form of
#
# Script error.
# Url:
# Line: 0
# Column: 0
# Window Location: http://discourse.codinghorror.com/t/the-god-login/2924/19
#
/^Script error.\nUrl: \nLine: 0?\n/,
# suppress trackback spam bots
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }),