Log cancels with appropriate level
							parent
							
								
									2800100b21
								
							
						
					
					
						commit
						d1f347c21f
					
				|  | @ -271,7 +271,12 @@ def _run_asyncio_task( | |||
|             task.exception() | ||||
|         except BaseException as terr: | ||||
|             task_err = terr | ||||
| 
 | ||||
|             if isinstance(terr, CancelledError): | ||||
|                 log.cancel(f'`asyncio` task cancelled: {task.get_name()}') | ||||
|             else: | ||||
|                 log.exception(f'`asyncio` task: {task.get_name()} errored') | ||||
| 
 | ||||
|             assert type(terr) is type(aio_err), 'Asyncio task error mismatch?' | ||||
| 
 | ||||
|         if aio_err is not None: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue