diff --git a/apps/api/src/app/api/trpc/[trpc]/route.ts b/apps/api/src/app/api/trpc/[trpc]/route.ts index 89838aab968..3e9d9d83bdb 100644 --- a/apps/api/src/app/api/trpc/[trpc]/route.ts +++ b/apps/api/src/app/api/trpc/[trpc]/route.ts @@ -11,6 +11,10 @@ const handler = (req: Request) => router: appRouter, createContext, onError: ({ path, error }) => { + // Suppress NOT_FOUND only for the known-dead device.heartbeat path + // (removed in #4490). Old desktop clients gated behind UpdateRequiredPage + // still call it; all other NOT_FOUND errors should remain visible. + if (error.code === "NOT_FOUND" && path === "device.heartbeat") return; console.error(`❌ tRPC error on ${path ?? ""}:`, error); }, });