We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9818255 + 0d0c02f commit b068b42Copy full SHA for b068b42
1 file changed
weaviate/connect/v4.py
@@ -1052,7 +1052,7 @@ def grpc_batch_delete(
1052
error = cast(Call, e)
1053
if error.code() == StatusCode.PERMISSION_DENIED:
1054
raise InsufficientPermissionsError(error)
1055
- raise WeaviateDeleteManyError(str(error.details()))
+ raise WeaviateDeleteManyError(f"[{error.code().name}] {error.details()}")
1056
1057
def grpc_tenants_get(
1058
self, request: tenants_pb2.TenantsGetRequest
@@ -1232,7 +1232,7 @@ async def grpc_batch_delete(
1232
except AioRpcError as e:
1233
if e.code().name == PERMISSION_DENIED:
1234
raise InsufficientPermissionsError(e)
1235
- raise WeaviateDeleteManyError(str(e))
+ raise WeaviateDeleteManyError(f"[{e.code().name}] {e.details()}")
1236
1237
async def grpc_batch_stream(
1238
self,
0 commit comments