From 6630f787bfabad57d0def46263ec8e3574a7f8cd Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 13 Sep 2025 23:16:58 +0200 Subject: [PATCH] Debug log --- web/lib/service/analytics.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/service/analytics.ts b/web/lib/service/analytics.ts index 4bec98ed..4d276d6c 100644 --- a/web/lib/service/analytics.ts +++ b/web/lib/service/analytics.ts @@ -19,7 +19,7 @@ export async function track(name: string, properties?: EventIds & EventData) { try { posthog?.capture(name, data) const result = await insertUserEvent(name, data, db, null, commentId) - console.log('result', result) + console.debug('result', result) } catch (e) { console.error('error tracking event:', e) } @@ -68,7 +68,7 @@ function insertUserEvent( userId?: string | null, commentId?: string | null ) { - console.log('inserting user event', name, data, userId, commentId, db) + console.debug('inserting user event', name, data, userId, commentId, db) return run( db.from('user_events').insert({ name,