minio storage fix
This commit is contained in:
parent
ea04c000cf
commit
0f591bd111
2 changed files with 3 additions and 3 deletions
|
|
@ -125,7 +125,7 @@ async def pull_File_from_user(app_id: str, folder: str, file_name: str, env: str
|
|||
# temp = temp.decode('utf-8')
|
||||
#print(miniourl)
|
||||
except Exception as error:
|
||||
raise HTTPException(status_code=404, detail=miniourl)
|
||||
raise HTTPException(status_code=404, detail=f"MinIO connection failed: {str(error)}")
|
||||
# return {"message": error}
|
||||
if(env == "Dev"):
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue