mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 12:52:08 +08:00
1.1.3 -> 1.1.4 第79次更新
This commit is contained in:
parent
56185d2750
commit
ebe199d048
@ -280,9 +280,9 @@ public partial class MainWin : Window
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (HttpRequestException ex) when (ex.InnerException is SocketException innerEx)
|
catch (HttpRequestException ex)
|
||||||
{
|
{
|
||||||
if (innerEx.SocketErrorCode != SocketError.ConnectionRefused)
|
if (ex.InnerException is SocketException innerEx && innerEx.SocketErrorCode != SocketError.ConnectionRefused)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -356,9 +356,9 @@ public partial class MainWin : Window
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (HttpRequestException ex) when (ex.InnerException is SocketException innerEx)
|
catch (HttpRequestException ex)
|
||||||
{
|
{
|
||||||
if (innerEx.SocketErrorCode != SocketError.ConnectionRefused)
|
if (ex.InnerException is SocketException innerEx && innerEx.SocketErrorCode != SocketError.ConnectionRefused)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user