fix: improve error logging for vector search operation in MyScale (#25087)
This commit is contained in:
parent
c7700ac176
commit
ff7a0e3170
1 changed files with 2 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ class MyScaleVector(BaseVector):
|
||||||
)
|
)
|
||||||
for r in self._client.query(sql).named_results()
|
for r in self._client.query(sql).named_results()
|
||||||
]
|
]
|
||||||
except Exception as e:
|
except Exception:
|
||||||
logger.exception("\033[91m\033[1m%s\033[0m \033[95m%s\033[0m", type(e), str(e)) # noqa:TRY401
|
logger.exception("Vector search operation failed")
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def delete(self) -> None:
|
def delete(self) -> None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue