From 45a0657828f2dc2bd772c57a20af4df5670c4ee6 Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:24:36 +0100 Subject: [PATCH] do not reference these object (#1412) --- lnbits/extensions/cashu/views_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/cashu/views_api.py b/lnbits/extensions/cashu/views_api.py index ed762ed3..dfd20cef 100644 --- a/lnbits/extensions/cashu/views_api.py +++ b/lnbits/extensions/cashu/views_api.py @@ -343,13 +343,13 @@ async def melt_coins( else: logger.debug(f"Cashu: Payment failed for {invoice_obj.payment_hash}") except Exception as e: - logger.debug(f"Cashu: Exception for {invoice_obj.payment_hash}: {str(e)}") + logger.debug(f"Cashu: Exception: {str(e)}") raise HTTPException( status_code=HTTPStatus.BAD_REQUEST, detail=f"Cashu: {str(e)}", ) finally: - logger.debug(f"Cashu: Unset pending for {invoice_obj.payment_hash}") + logger.debug(f"Cashu: Unset pending") # delete proofs from pending list await ledger._unset_proofs_pending(proofs)