From: Roland Häder Date: Sat, 25 May 2024 16:55:09 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12552deb9e0e158d163caf34f23c7a75fd7da0be;p=fba.git Continued: - added another exception --- diff --git a/fba/http/network.py b/fba/http/network.py index 43f1ae4..9199cb3 100644 --- a/fba/http/network.py +++ b/fba/http/network.py @@ -19,6 +19,7 @@ import time from urllib.parse import urlparse +import eventlet import reqto import requests import urllib3 @@ -56,6 +57,7 @@ exceptions = ( requests.exceptions.InvalidSchema, requests.exceptions.InvalidURL, requests.exceptions.Timeout, + eventlet.timeout.Timeout, requests.exceptions.TooManyRedirects, UnicodeEncodeError, urllib3.exceptions.LocationParseError