From 37d8fd4cc5dc5ceb0ff8df68c6049301028b0c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Wed, 11 Oct 2017 13:33:01 +0200 Subject: [PATCH] docs: Mention partial vs. exact match in ignoreErrors docs --- docs/config.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index e236cde86b98..9bfb0776065b 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -102,12 +102,14 @@ Those configuration options are documented below: something other than your application, or errors that you're completely not interested in. `ignoreErrors` is a list of these messages to be filtered out before being sent to Sentry as either - regular expressions or strings. + regular expressions or strings. When using strings, they'll partially + match the messages, so if you need to achieve an exact match, use + RegExp patterns instead. .. code-block:: javascript { - ignoreErrors: ['fb_xd_fragment'] + ignoreErrors: ['fb_xd_fragment', /^Exact Match Message$/] } .. describe:: ignoreUrls