Skip to content

Instantly share code, notes, and snippets.

@pioug
Last active May 2, 2024 10:23
Show Gist options
  • Save pioug/b006c983538538066ea871d299d8e8bc to your computer and use it in GitHub Desktop.
Save pioug/b006c983538538066ea871d299d8e8bc to your computer and use it in GitHub Desktop.
Errors to ignore on Sentry, likely caused by browsers/extensions/webviews
const ignoreErrors = [
/^No error$/,
/__show__deepen/,
/_avast_submit/,
/Access is denied/,
/anonymous function: captureException/,
/Blocked a frame with origin/,
/can't redefine non-configurable property "userAgent"/,
/change_ua/,
/console is not defined/,
/cordova/,
/DataCloneError/,
/Error: AccessDeny/,
/event is not defined/,
/feedConf/,
/ibFindAllVideos/,
/myGloFrameList/,
/SecurityError/,
/MyIPhoneApp/,
/snapchat.com/,
/vid_mate_check is not defined/,
/win\.document\.body/,
/window\._sharedData\.entry_data/,
/window\.regainData/,
/ztePageScrollModule/
];
@rohittagadiya
Copy link

I'm also facing same issue. Sentry has reported this issue :)

@altaywtf
Copy link

I have /ibFindAllVideos/ in my ignoreErrors but they still show up 😅 and it's not the only one...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment