ui: filter expected client errors from Sentry

This commit is contained in:
undefined committed 2026-08-23 20:06:37 +00:00
1 parent fae88b3c7a
commit e7a263c96d
2 files changed
+7 -4

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ init({
tracePropagationTargets: ['localhost', /^\//, window.location.host],
replaysSessionSampleRate: 0.01,
replaysOnErrorSampleRate: 0.1,
beforeSend: (event, hint) => ((hint.originalException as { isUserFacingError?: boolean } | undefined)?.isUserFacingError ? null : event),
});
setTag('host', window.location.host);
setTag('page_name', document.documentElement.getAttribute('data-page'));