From 4e7797517932a65232235dda383d66edcb07245f Mon Sep 17 00:00:00 2001 From: codytseng Date: Sat, 6 Dec 2025 11:38:11 +0800 Subject: [PATCH] chore: add logging for zap endpoint fetch failures --- src/services/lightning.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/lightning.service.ts b/src/services/lightning.service.ts index 779cbcf..109ae93 100644 --- a/src/services/lightning.service.ts +++ b/src/services/lightning.service.ts @@ -216,6 +216,7 @@ class LightningService { // Some clients have incorrectly filled in the positions for lud06 and lud16 if (!profile.lightningAddress) { + console.warn('Profile has no lightning address', profile) return null } @@ -231,6 +232,7 @@ class LightningService { const res = await fetch(lnurl) const body = await res.json() + console.log('Zap endpoint:', body) if (body.allowsNostr !== false && body.callback) { return { callback: body.callback,