|
@@ -100,9 +100,13 @@ class R2R:
|
|
|
"collectionscollectionscollectionscollectionscollectionscollectionscollectionscollectionscollectionscollectionscollectionscollections"
|
|
|
)
|
|
|
if id != "":
|
|
|
- listed = await self.client.collections.list_documents(
|
|
|
- id=id, limit=limit, offset=offset
|
|
|
- )
|
|
|
+ try:
|
|
|
+ listed = await self.client.collections.list_documents(
|
|
|
+ id=id, limit=limit, offset=offset
|
|
|
+ )
|
|
|
+ except Exception as e:
|
|
|
+ print(e)
|
|
|
+ listed = []
|
|
|
print(listed.get("results"))
|
|
|
return listed.get("results")
|
|
|
else:
|