Skip to content

Commit 0dd7c8e

Browse files
committed
wip: 移除注释
1 parent 9011909 commit 0dd7c8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/BootstrapBlazor/Services/TcpSocket/TcpSocketClientBase.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ public async ValueTask<bool> ConnectAsync(IPEndPoint endPoint, CancellationToken
123123
}
124124
catch (OperationCanceledException ex)
125125
{
126-
var message = token.IsCancellationRequested
127-
? $"TCP Socket connect operation was canceled from {LocalEndPoint} to {endPoint}"
128-
: $"TCP Socket connect operation timed out from {LocalEndPoint} to {endPoint}";
129-
Log(LogLevel.Warning, ex, message);
126+
//var message = token.IsCancellationRequested
127+
// ? $"TCP Socket connect operation was canceled from {LocalEndPoint} to {endPoint}"
128+
// : $"TCP Socket connect operation timed out from {LocalEndPoint} to {endPoint}";
129+
//Log(LogLevel.Warning, ex, message);
130130
}
131131
catch (Exception ex)
132132
{

0 commit comments

Comments
 (0)