From 7448cef9325387872147e10d5e7f7830f8d382af Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 20 Nov 2024 23:26:50 +0100 Subject: [PATCH] Fix wallet status ignoring failed requests to create invoices (#1624) --- wallets/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallets/server.js b/wallets/server.js index 9ee2e71e..c4559ded 100644 --- a/wallets/server.js +++ b/wallets/server.js @@ -73,7 +73,7 @@ export async function createInvoice (userId, { msats, description, descriptionHa return { invoice, wallet, logger } } catch (err) { - logger.error(err.message) + logger.error(err.message, { status: true }) } }