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

Prevent non-error HAL response to turn up on sentry

Oliver Güntherb41634f6d130
diff --git a/frontend/src/app/core/errors/sentry/sentry-reporter.ts b/frontend/src/app/core/errors/sentry/sentry-reporter.ts
index 67be8989c51..cd84b847148 100644
--- a/frontend/src/app/core/errors/sentry/sentry-reporter.ts
+++ b/frontend/src/app/core/errors/sentry/sentry-reporter.ts
@@ -110,6 +110,9 @@ export class SentryReporter implements ErrorReporter {
'The transition has been superseded by a different transition',
// Uncaught promise rejections
'Uncaught (in promise)',
+ // Non-errors caught for hal resources
+ 'Non-Error exception captured with keys: $embedded, $halType, $links, $loaded',
+
],
beforeSend: (event) => this.filterEvent(event),
});