Ignore Specific Error

Error monitoring tool for recording videos & screenshots of user sessions


Post Reply
User avatar
danielh
Posts: 2
Joined: Fri Jul 13, 2018 6:57 pm

Ignore Specific Error

Post 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.


User avatar
mats
Core Developer
Core Developer
Posts: 16566
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Ignore Specific Error

Post by mats »

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

Code: Select all

ignoreErrorMessageRe : /Script error|Unexpected token var|ResizeObserver/i,
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
danielh
Posts: 2
Joined: Fri Jul 13, 2018 6:57 pm

Re: Ignore Specific Error

Post 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.


Post Reply