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.
1 parent bd585a4 commit 719f7c7Copy full SHA for 719f7c7
splitio/push/sse.py
@@ -201,11 +201,11 @@ async def shutdown(self):
201
"""Close connection"""
202
if self._response:
203
self._response.close()
204
-# catching exception to avoid task hanging
+ # catching exception to avoid task hanging if a canceled exception occurred
205
try:
206
await self._done.wait()
207
except asyncio.CancelledError:
208
- _LOGGER.error("Exception waiting for event source ended")
+ _LOGGER.error("Exception waiting for SSE connection to end")
209
_LOGGER.debug('stack trace: ', exc_info=True)
210
pass
211
0 commit comments