Fix wallet status ignoring failed requests to create invoices (#1624)
This commit is contained in:
parent
d238eafdde
commit
7448cef932
|
@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue