diff --git a/src/utils/bolt11.ts b/src/utils/bolt11.ts index 3e7db690..ba3dbe93 100644 --- a/src/utils/bolt11.ts +++ b/src/utils/bolt11.ts @@ -7,7 +7,8 @@ function getAmount(invoice: string | undefined): string | undefined { try { const decoded = bolt11.decode(invoice); return decoded?.millisatoshis ?? undefined; - } catch { + } catch (e) { + console.log(e); return; } }