chore(lint): Use logging.exception instead of logging.error (#10415)
This commit is contained in:
parent
dd5ffaf058
commit
574c4a264f
22 changed files with 31 additions and 30 deletions
|
|
@ -242,7 +242,7 @@ class CouchbaseVector(BaseVector):
|
|||
try:
|
||||
self._cluster.query(query, named_parameters={"doc_ids": ids}).execute()
|
||||
except Exception as e:
|
||||
logger.error(e)
|
||||
logger.exception(e)
|
||||
|
||||
def delete_by_document_id(self, document_id: str):
|
||||
query = f"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue