Skip to content

Commit 219ae8b

Browse files
committed
changing exception in custom grpc class
1 parent d773059 commit 219ae8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pinecone/core/grpc/index_grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ def result(self, timeout=None):
233233
raise PineconeException(e._state.debug_error_string) from e
234234

235235
def exception(self,timeout=None):
236-
with _MultiThreadedRendezvous as e:
237-
raise PineconeException(e._state.debug_error_string) from e
236+
return self._delegate.exception(timeout=timeout)
238237

239238
def traceback(self,timeout=None):
240239
return self._delegate.traceback(timeout=timeout)

0 commit comments

Comments
 (0)