Skip to content

Commit

Permalink
Don't print socket transport error in console (#4493)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed May 29, 2023
1 parent ecdccae commit 9938cd8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ internal static class TcpClientExtensions
ioException,
remoteEndPoint,
localEndPoint);
error = ioException;
// Do not pass the error to the caller, the transport was torn down because testhost
// disconnected, in 99% of the cases. This error ends up confusing developers
// even though it just means "testhost crashed", look at testhost to see what happened.
// https://github.com/microsoft/vstest/issues/4461
// error = ioException;
break;
}
}
Expand Down

0 comments on commit 9938cd8

Please sign in to comment.