Skip to content

Commit cc56af8

Browse files
authored
Merge pull request #593 from splitio/FME-8450-lower-log-sse-renew
Reduce log level for asyncio.CancelledError exceptions
2 parents 9180c03 + 89597f8 commit cc56af8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

splitio/push/splitsse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ async def stop(self):
247247
try:
248248
await self._event_source_ended.wait()
249249
except asyncio.CancelledError as e:
250-
_LOGGER.error("Exception waiting for event source ended")
250+
_LOGGER.debug("Exception waiting for event source ended")
251251
_LOGGER.debug('stack trace: ', exc_info=True)
252252
pass
253253

splitio/push/sse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ async def shutdown(self):
205205
try:
206206
await self._done.wait()
207207
except asyncio.CancelledError:
208-
_LOGGER.error("Exception waiting for SSE connection to end")
208+
_LOGGER.debug("Exception waiting for SSE connection to end")
209209
_LOGGER.debug('stack trace: ', exc_info=True)
210210
pass
211211

0 commit comments

Comments
 (0)