Skip to content

Commit

Permalink
nwc logs
Browse files Browse the repository at this point in the history
  • Loading branch information
moysa committed Feb 3, 2025
1 parent f6e8b3b commit b7cb863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/zap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}
Expand Down

0 comments on commit b7cb863

Please sign in to comment.