Skip to content

Commit

Permalink
remove 5xx handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali K committed Apr 30, 2024
1 parent 3eb5b3b commit 88bd438
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/marqo/tensor_search/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,6 @@ def schema_validation(index_name: str, settings_object: str):
},
status_code=400
)
except Exception as e:
return JSONResponse(
content={
"validated": False,
"validation_error": str(e),
"index": index_name
},
status_code=500
)


@app.post("/indexes/{index_name}")
Expand Down

0 comments on commit 88bd438

Please sign in to comment.