From b7cb8631fb580c2c03babd83b0a03398b7adc37c Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Fri, 31 Jan 2025 15:57:41 +0100 Subject: [PATCH] nwc logs --- src/lib/zap.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/zap.ts b/src/lib/zap.ts index 155349a2..5426d047 100644 --- a/src/lib/zap.ts +++ b/src/lib/zap.ts @@ -50,6 +50,7 @@ export const zapOverNWC = async (pubkey: string, nwcEnc: string, invoice: string if (content.error) { logError('Failed NWC payment: ', content.error); + console.error('Failed NWC payment: ', content.error); subReq.close(); subInfo.close(); resolve(false); @@ -75,6 +76,7 @@ export const zapOverNWC = async (pubkey: string, nwcEnc: string, invoice: string } catch (e: any) { logError('Failed NWC payment init: ', e); + console.error('Failed NWC payment init: ', e) lastZapError = e; result = false; }