From 3b75fb7f7ae5996b268320dadec6308dc92e5767 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 12 Jun 2023 00:39:10 +0200 Subject: [PATCH] Continued: - let's collect them all and handle them together, no "generic-catch-all" as this would hide actual bugs --- fba/network.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fba/network.py b/fba/network.py index 18e9437..93ea533 100644 --- a/fba/network.py +++ b/fba/network.py @@ -35,6 +35,7 @@ api_headers = { # Exceptions to always catch exceptions = ( + requests.exceptions.ChunkedEncodingError, requests.exceptions.ConnectionError, requests.exceptions.Timeout, requests.exceptions.TooManyRedirects, -- 2.39.5