feat(admin): add production error center and refresh CMS dependencies

This commit is contained in:
Simo committed 2026-09-05 19:53:09 +02:00
1 parent c6b919c01d
commit 816e3875c2
47 files changed
+1545 -547

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { reportBrowserError } from "@/lib/browser-errors";
window.addEventListener("error", (event) => {
if (event.error) reportBrowserError(event.error);
});
window.addEventListener("unhandledrejection", (event) =>
reportBrowserError(event.reason, "browser.unhandled_rejection"),
);