utils(asyncio): use trace logging for some cancelling messages
This commit is contained in:
@@ -63,7 +63,7 @@ class WatchdogPriorityQueue(asyncio.PriorityQueue):
|
||||
get_result = await super().get()
|
||||
|
||||
if isinstance(get_result, _WatchdogPriorityCancelSentinel):
|
||||
logger.debug(
|
||||
logger.trace(
|
||||
"Received WatchdogPriorityCancelSentinel, throwing CancelledError to force cancelling"
|
||||
)
|
||||
raise asyncio.CancelledError("Cancelling watchdog queue get() call.")
|
||||
|
||||
@@ -62,7 +62,7 @@ class WatchdogQueue(asyncio.Queue):
|
||||
get_result = await super().get()
|
||||
|
||||
if isinstance(get_result, _WatchdogQueueCancelSentinel):
|
||||
logger.debug(
|
||||
logger.trace(
|
||||
"Received WatchdogQueueCancelFrame, throwing CancelledError to force cancelling"
|
||||
)
|
||||
raise asyncio.CancelledError("Cancelling watchdog queue get() call.")
|
||||
|
||||
Reference in New Issue
Block a user