chore: log error in debug mode
This commit is contained in:
parent
8a447ecc4f
commit
50addd73dd
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ async def api_charge_create(
|
|||
**{"paid": charge.paid},
|
||||
}
|
||||
except Exception as ex:
|
||||
logger.debug(ex)
|
||||
raise HTTPException(
|
||||
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue