Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/external/url_request/probe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from aiohttp import ClientSession, InvalidUrlClientError, ClientConnectorSSLError, ClientConnectorDNSError, \
ClientConnectorCertificateError, ClientResponseError, ClientConnectorError, TooManyRedirects, ClientOSError, \
ServerDisconnectedError
ServerDisconnectedError, ClientConnectionResetError
from pydantic import ValidationError
from tqdm.asyncio import tqdm_asyncio

Expand Down Expand Up @@ -41,7 +41,8 @@ async def _probe(self, url: str) -> URLProbeResponseOuterWrapper:
ClientConnectorSSLError,
ClientConnectorDNSError,
ClientConnectorCertificateError,
ServerDisconnectedError
ServerDisconnectedError,
ClientConnectionResetError
) as e:
return convert_to_error_response(url, error=str(e))
except asyncio.exceptions.TimeoutError:
Expand Down