Skip to content

Commit 69f061b

Browse files
committed
correct exception type in _async files
1 parent 827d3c1 commit 69f061b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google/api_core/bidi_async.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,9 @@ async def open(self) -> None:
176176
try:
177177
call = await self._start_rpc(request_generator, metadata=self._rpc_metadata)
178178
except exceptions.GoogleAPICallError as exc:
179-
# The original `grpc.RpcError` (which is usually also a `grpc.Call`) is
180-
# available from the ``response`` property on the mapped exception.
179+
# The original `grpc.aio.AioRpcError` (which is usually also a
180+
# `grpc.aio.Call`) is available from the ``response`` property on
181+
# the mapped exception.
181182
self._on_call_done(exc.response)
182183
raise
183184

0 commit comments

Comments
 (0)