example-code-2e icon indicating copy to clipboard operation
example-code-2e copied to clipboard

Fix `error` variable not being reset when failure in a coroutine call in flags2_asyncio.py

Open charlielito opened this issue 2 years ago • 0 comments

In the asyncio example in flags2_asyncio.py there is a bug when a call to a coroutine in the loop fails and the next one has success, the error variable doesn't get reset and it still thinks it got an error, and updates the counter[status] with the wrong value

charlielito avatar Mar 26 '23 22:03 charlielito