Skip to content

Commit ba9d5b5

Browse files
committed
chore: add logging to _stream_multiplexer.py recv loop failure
1 parent 3c46d9c commit ba9d5b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/google-cloud-storage/google/cloud/storage/asyncio/_stream_multiplexer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ async def _recv_loop(self) -> None:
154154
except asyncio.CancelledError:
155155
raise
156156
except Exception as e:
157+
logger.warning(f"Stream multiplexer recv loop failed: {e}", exc_info=True)
157158
error = _StreamError(e, self._stream_generation)
158159
for queue in self._get_unique_queues():
159160
self._put_error_nowait(queue, error)

0 commit comments

Comments
 (0)