Closed ahuigo closed 7 years ago
Hi,
I'm not sure I understand your problem, but it doesn't look like it's a bug in asyncio.
wait()
is a helper which allows to wait on several tasks (or future) at once, it will not raise th exceptions happening in the task. In your case, if you want the exception to raise, don't use asyncio.wait()
: https://docs.python.org/3/library/asyncio-task.html#asyncio.wait.
If you have a question about how asyncio works, I suggest that you start a thread on the users mailing list, which is probably a better place to discuss than the github bug tracker: https://groups.google.com/forum/#!forum/python-tulip
In fact , it will raise exceptions happening in the task when there is no logging.config.fileConfig.
Why asyncio does not raise up exception when using
logging.config.fileConfig
.Here is an example.