CashuWallet.payLnInvoice rejects with unusable Error message
Egge21M opened this issue · comments
Egge commented
The code snippet below yields [Error: [object Object]]
try {
const response = await wallet.payLnInvoice(invoice, proofs, feeReserve);
} catch (e) {
console.log(e);
}
vnnkl commented
Could not find that code in the repo,
if you are looking to not get [object Object]
printed you can use console.log(JSON.stringify(e));