|
@@ -108,7 +108,7 @@ namespace FastGithub.Http
|
|
catch (OperationCanceledException)
|
|
catch (OperationCanceledException)
|
|
{
|
|
{
|
|
cancellationToken.ThrowIfCancellationRequested();
|
|
cancellationToken.ThrowIfCancellationRequested();
|
|
- innerExceptions.Add(new SocketException((int)SocketError.TimedOut));
|
|
|
|
|
|
+ innerExceptions.Add(new HttpConnectTimeoutException(ipEndPoint.Address));
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|