Page 1 of 1

Ignore Specific Error

Posted: Thu May 28, 2020 9:49 pm
by danielh

I'm trying to ignore a specific error message, but I'm having some issues. I found the 'ignoreErrorMessageRe' config in the documentation. When I tried to use that I must have set up the regex wrong and all errors are now being ignored. If you have an example of what this config should look like it would be greatly appreciated.

The error message I'm trying to ignore is "ResizeObserver loop limit exceeded".
Thank you.

Re: Ignore Specific Error

Posted: Thu May 28, 2020 11:33 pm
by mats

Can you please post the RegEx you used? We use:

Code: Select all

ignoreErrorMessageRe : /Script error|Unexpected token var|ResizeObserver/i,

Re: Ignore Specific Error

Posted: Fri May 29, 2020 12:04 am
by danielh

I was using a regex of the error message:

Code: Select all

ignoreErrorMessageRe: '/ResizeObserver loop limit exceeded/',

I realize now putting it in quotes was probably not the correct way.