Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Ignore getComputedStyle and chunk error on appsignal

Oliver Günther7ce5e8fe29b0
diff --git a/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts b/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
index 8f5871aa1b0..8fb471b6c35 100644
--- a/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
+++ b/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
@@ -27,15 +27,8 @@
//++
import { debugLog } from 'core-app/shared/helpers/debug_output';
-import {
- ErrorReporterBase,
- ErrorTags,
- MessageSeverity,
-} from 'core-app/core/errors/error-reporter-base';
-import type {
- Appsignal,
- Span,
-} from './appsignal-dependency';
+import { ErrorReporterBase, ErrorTags, MessageSeverity } from 'core-app/core/errors/error-reporter-base';
+import type { Appsignal, Span } from './appsignal-dependency';
export class AppsignalReporter extends ErrorReporterBase {
private client:Appsignal;
@@ -69,6 +62,10 @@ export class AppsignalReporter extends ErrorReporterBase {
namespace: 'frontend',
key,
revision,
+ ignoreErrors: [
+ /getComputedStyle/,
+ /Loading chunk/,
+ ],
});
this.client.use(imported.networkPlugin());