log call was replaced with Exception but [] on args remained

This commit is contained in:
jesopo 2019-09-19 15:30:27 +01:00
parent 8f38223284
commit e34259f967

View file

@ -243,7 +243,7 @@ def request_many(requests: typing.List[Request]) -> typing.Dict[str, Response]:
response = await client.fetch(t_request)
except:
raise RequestManyException(
"request_many failed for %s", [url])
"request_many failed for %s" % url)
headers = utils.CaseInsensitiveDict(dict(response.headers))
data = response.body.decode("utf8")