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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ async def api_charge_create(
**{"paid": charge.paid},
}
except Exception as ex:
logger.debug(ex)
logger.debug(f"Satspay error: {str}")
raise HTTPException(
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex)
)