Skip to content

Commit c189263

Browse files
committed
Update Sentry DSN, skip issues that spam the error reports
1 parent 1a19b30 commit c189263

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/src/error-logger-extensions/raven-error-reporter.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ module.exports = class RavenErrorReporter {
3737
return;
3838
}
3939

40+
// Skip some very noisy issues
41+
const str = `${err}`.toLowerCase();
42+
if (['resize observer', 'resizeobserver', 'enoent'].includes(str)) {
43+
return;
44+
}
45+
4046
Raven.captureException(err, {
4147
extra: extra,
4248
tags: {
@@ -49,7 +55,7 @@ module.exports = class RavenErrorReporter {
4955
_setupSentry() {
5056
Raven.disableConsoleAlerts();
5157
Raven.config(
52-
'https://18d04acdd03b4389a36ef7d1d39f8025:5cb2e99bd3634856bfb3711461201439@sentry.io/196829',
58+
'https://2c54d9a7349ab0fa781878a84744f7fc@o70907.ingest.us.sentry.io/4508712413233152',
5359
{
5460
name: this.deviceHash,
5561
release: this.getVersion(),

0 commit comments

Comments
 (0)