didoesdigital / typey-type

Typey Type for Stenographers is a free typing app designed specifically to help steno students practise and rapidly master stenography.
https://didoesdigital.com/typey-type
GNU Affero General Public License v3.0
90 stars 15 forks source link

Sentry errors from Google Analytics being blocked #172

Closed didoesdigital closed 3 months ago

didoesdigital commented 3 months ago

Sudden increase in Sentry errors from Google Analytics being blocked.

Using Firefox or something like Chrome with Ghostery extension causes a console error like: Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. or Uncaught (in promise) TypeError: Failed to fetch

Doesn't seem to cause any user facing issues.

It is annoying to receive lots of emails about this.

It would be nice to either catch the error and squash it so it never goes to Sentry or add a reliable filter to stop Sentry sending me emails about it. We can't just add the error message to existing ignoreErrors in src/index.tsx because it is a generic error message that could be caused by other real errors that we wouldn't want to miss notifications about.

didoesdigital commented 3 months ago

In a happy turn of events, Sentry said "we recently enabled additional inbound filters for your JavaScript project. Now, error events from browser extensions, legacy browsers, and web crawlers will be automatically filtered out". I think this problem is solved.