Update lnbits/extensions/satspay/views_api.py
This commit is contained in:
@@ -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)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user