From c8d8301bf27ab78c07a33ab18df689746442b19e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Wed, 4 Jun 2025 20:56:19 +0200 Subject: [PATCH] Ignore failed `pingTelemetry` requests (#135) --- app/lib/hooks/pingTelemetry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/hooks/pingTelemetry.ts b/app/lib/hooks/pingTelemetry.ts index e23e0d5d..21f8bf01 100644 --- a/app/lib/hooks/pingTelemetry.ts +++ b/app/lib/hooks/pingTelemetry.ts @@ -10,7 +10,7 @@ export async function pingTelemetry(event: string, data: any) { fetch('/api/ping-telemetry', { method: 'POST', body: JSON.stringify(requestBody), - }); + }).catch(() => {}); } // Manage telemetry events for a single chat message.