Closed decaz closed 1 year ago
@mosquito I see there is another place where exception()
method of future is being used:
https://github.com/mosquito/aiormq/blob/9696466a5cdaa73ace6d41153bc2a6c79cb3ceae/aiormq/base.py#L98-L101
But I guess it's normal that asyncio.CancelledError
can be raised here. Am I right?
Access to
asyncio.Future.exception()
should be protected from unexpected raise ofasyncio.CancelledError
exception.