From 9ccca322e52ed6722834226f16a2c6a54aadb85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Wed, 10 Dec 2025 20:48:04 +0100 Subject: [PATCH] debug: geo db path --- packages/geo/src/geo.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/geo/src/geo.ts b/packages/geo/src/geo.ts index 610386cb..e2a5a148 100644 --- a/packages/geo/src/geo.ts +++ b/packages/geo/src/geo.ts @@ -21,15 +21,15 @@ let readerPromise: Promise | null = null; async function loadDatabase(): Promise { try { const dbBuffer = await readFile(dbPath); - console.log('GeoLite2-City.mmdb loaded (dist)'); + console.log('GeoLite2-City.mmdb loaded (dist)', dbPath); return Reader.openBuffer(dbBuffer); } catch { try { const dbBuffer = await readFile(dbPathLocal); - console.log('GeoLite2-City.mmdb loaded (local)'); + console.log('GeoLite2-City.mmdb loaded (local)', dbPathLocal); return Reader.openBuffer(dbBuffer); } catch { - console.error('GeoLite2-City.mmdb not found'); + console.error('GeoLite2-City.mmdb not found', { dbPath, dbPathLocal }); return null; } }