diff --git a/src/utils/http.py b/src/utils/http.py index 9eab10da..15f371fe 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -121,11 +121,7 @@ def request_many(urls: typing.List[str]) -> typing.Dict[str, Response]: request = tornado.httpclient.HTTPRequest(url, method="GET", connect_timeout=2, request_timeout=2) - response = None - try: - response = await client.fetch(request) - except: - return + response = await client.fetch(request) headers = utils.CaseInsensitiveDict(dict(response.headers)) data = response.body.decode("utf8")