Add ignore for another type of not found
This commit is contained in:
parent
46aa7dab80
commit
2f82caafa2
|
@ -7,6 +7,8 @@ if Rails.env.production?
|
||||||
|
|
||||||
/^ActionController::UnknownFormat/,
|
/^ActionController::UnknownFormat/,
|
||||||
|
|
||||||
|
/^AbstractController::ActionNotFound/,
|
||||||
|
|
||||||
# ignore any empty JS errors that contain blanks or zeros for line and column fields
|
# ignore any empty JS errors that contain blanks or zeros for line and column fields
|
||||||
#
|
#
|
||||||
# Line:
|
# Line:
|
||||||
|
@ -21,10 +23,7 @@ if Rails.env.production?
|
||||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }),
|
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }),
|
||||||
|
|
||||||
# API calls, TODO fix this in rails
|
# API calls, TODO fix this in rails
|
||||||
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ }),
|
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ })
|
||||||
|
|
||||||
# no route, can happen in multisite for some reason, ignore
|
|
||||||
Logster::IgnorePattern.new(/^ActionController::RoutingError \(No route matches/)
|
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue