Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(web,sentry): remove unnecessary Sentry capture for auth fetch errors

(justin)randoneering92693abfcb83
diff --git a/apps/web/src/routes/_layout/_authenticated.tsx b/apps/web/src/routes/_layout/_authenticated.tsx
index 9b893d5d7..080dadce9 100644
--- a/apps/web/src/routes/_layout/_authenticated.tsx
+++ b/apps/web/src/routes/_layout/_authenticated.tsx
@@ -1,4 +1,3 @@
-import * as Sentry from "@sentry/react";
import { createFileRoute, redirect } from "@tanstack/react-router";
import { authClient } from "@/lib/auth-client";
@@ -11,7 +10,6 @@ export const Route = createFileRoute("/_layout/_authenticated")({
session = data;
} catch (error) {
if (import.meta.env.DEV) console.warn("getSession failed", error);
- Sentry.captureException(error, { tags: { area: "auth.getSession" } });
// getSession() rejected (e.g. network error) — treat as unauthenticated
}
if (!session) {