Update lnbits/extensions/satspay/views_api.py

This commit is contained in:
calle
2022-12-26 11:52:40 +01:00
committed by GitHub
parent 50addd73dd
commit 6825a1f2e6
+1 -1
View File
@@ -46,7 +46,7 @@ async def api_charge_create(
**{"paid": charge.paid}, **{"paid": charge.paid},
} }
except Exception as ex: except Exception as ex:
logger.debug(ex) logger.debug(f"Satspay error: {str}")
raise HTTPException( raise HTTPException(
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex) status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex)
) )