You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyDiscoveryManager.cs
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -196,20 +196,25 @@ public void DiscoverTests(DiscoveryCriteria discoveryCriteria, ITestDiscoveryEve
196
196
197
197
privatevoidHandleException(Exceptionexception)
198
198
{
199
-
EqtTrace.Error("ProxyDiscoveryManager.DiscoverTests: Failed to discover tests: {0}",exception);
199
+
// If requested abort and the code below was just sending data, we will get communication exception because we try to write the channel that is already closed.
200
+
// In such case don't report the exception because user cannot do anything about it.
0 commit comments