refac
This commit is contained in:
@@ -332,6 +332,8 @@ def upload_file_handler(
|
|||||||
detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
|
detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
except HTTPException as e:
|
||||||
|
raise e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
|||||||
Reference in New Issue
Block a user