Skip to content

Commit 719f7c7

Browse files
committed
polishing
1 parent bd585a4 commit 719f7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splitio/push/sse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ async def shutdown(self):
201201
"""Close connection"""
202202
if self._response:
203203
self._response.close()
204-
# catching exception to avoid task hanging
204+
# catching exception to avoid task hanging if a canceled exception occurred
205205
try:
206206
await self._done.wait()
207207
except asyncio.CancelledError:
208-
_LOGGER.error("Exception waiting for event source ended")
208+
_LOGGER.error("Exception waiting for SSE connection to end")
209209
_LOGGER.debug('stack trace: ', exc_info=True)
210210
pass
211211

0 commit comments

Comments
 (0)