fix: replace bare except with except Exception (#22473)

Replace bare except clauses with except Exception to follow Python best practices and avoid catching unexpected system exceptions like KeyboardInterrupt and SystemExit.
This commit is contained in:
Ethan T. authored and GitHub committed 2026-03-15 17:48:23 -05:00
1 parent bcd313c363
commit a229f9ea42
9 files changed
+14 -14

No files matched your search

@@ -123,7 +123,7 @@ class ChromaClient(VectorDBBase):
}
)
return None
except:
except Exception:
return None
def get(self, collection_name: str) -> Optional[GetResult]: