feat(all): 同步最新进度
This commit is contained in:
@@ -70,9 +70,9 @@ async def upload_file(
|
||||
return {'data': file_info}
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f'Upload failed: {str(e)}')
|
||||
logger.error(f'Upload failed: {e}')
|
||||
logger.exception(e)
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
detail=f'File upload failed'
|
||||
detail='Internal server error'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user