chore: remove exc_info
This commit is contained in:
parent
440b4b0cf3
commit
bcfae9f291
1 changed files with 0 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
from sys import exc_info
|
|
||||||
from uuid import UUID
|
from uuid import UUID
|
||||||
|
|
||||||
from fastapi import APIRouter
|
from fastapi import APIRouter
|
||||||
|
|
@ -95,7 +94,6 @@ def get_add_router() -> APIRouter:
|
||||||
f"Error during add operation for user {user.id}, "
|
f"Error during add operation for user {user.id}, "
|
||||||
f"dataset: {datasetName or datasetId}, "
|
f"dataset: {datasetName or datasetId}, "
|
||||||
f"error type: {type(error).__name__}",
|
f"error type: {type(error).__name__}",
|
||||||
exc_info=True,
|
|
||||||
)
|
)
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
status_code=500,
|
status_code=500,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue