Asyncio Log CancelledError Exceptions

You can log CancelledError exceptions within the task that is canceled or in the caller that requested that the task be canceled. Logging the CancelledError exception provides help when debugging an asyncio program later, confirming that tasks were canceled. By logging the CancelledError exception at the point of cancellation, the log will also include details […]
 •  0 comments  •  flag
Share on Twitter
Published on February 13, 2024 10:00
No comments have been added yet.