Commit 0d0c02f
committed
fix: include gRPC status code in WeaviateDeleteManyError messages (Fixes #1030)
Previously, batch delete failures produced unhelpful error messages like
'Query call with protocol GRPC delete failed with message unavailable.'
without indicating the gRPC status code.
Now the error includes the status code name (e.g., [UNAVAILABLE],
[DEADLINE_EXCEEDED]) to help users diagnose whether the failure is due
to server overload, timeout, or other gRPC-level issues.
Affects both sync (ConnectionSync.grpc_batch_delete) and async
(ConnectionAsync.grpc_batch_delete) code paths.
Signed-off-by: rtmalikian <rtmalikian@gmail.com>1 parent 17a9887 commit 0d0c02f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
| 1235 | + | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| |||
0 commit comments