Verified Commit b78f6e2d authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix typo.

parent a13b2a38
Pipeline #36575 passed with stages
in 14 minutes and 59 seconds
......@@ -190,7 +190,7 @@ async def fetch(
except OSError as e:
metrics["httpclient_timeouts"] += 1
return ERR_TIMEOUT, {}, b"Connection error: %s" % smart_bytes(e)
except (asyncio.TimeoutError, TimeoutError):
except asyncio.TimeoutError:
metrics["httpclient_timeouts"] += 1
return ERR_TIMEOUT, {}, b"Connection timed out"
# Proxy CONNECT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment