From 8e2e1b6ef58c64791b977ce05a643cc068fb2d4b Mon Sep 17 00:00:00 2001 From: Konrad Aune-Lundberg <111636830+ALkonrad@users.noreply.github.com> Date: Sat, 20 Aug 2022 19:58:19 +0200 Subject: [PATCH] Update README.rst Fixed #9 by changing the README file under Dealing with errors and cancellation from: the ``fetch()`` function, we're handling ``Exeption``, which to: the ``fetch()`` function, we're handling ``BaseExeption``, which --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6203d7b..a03d266 100644 --- a/README.rst +++ b/README.rst @@ -196,7 +196,7 @@ Generally, there are these kinds of error situations: executor must NOT be shut down Consider the previous example using aiohttp to fetch URLs: inside -the ``fetch()`` function, we're handling ``Exception``, which +the ``fetch()`` function, we're handling ``BaseExeption``, which includes ``asyncio.CancelledError``. In general, this is the correct thing to do because you can control what happens in each of the scenarios presented above. But what happens