We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6785dac commit 1b827c2Copy full SHA for 1b827c2
dotnet/test/common/Environment/TestWebServer.cs
@@ -161,7 +161,14 @@ public void Stop()
161
{
162
using (var httpClient = new HttpClient())
163
164
- using (var quitResponse = httpClient.GetAsync(EnvironmentManager.Instance.UrlBuilder.LocalWhereIs("quitquitquit")).GetAwaiter().GetResult())
+ try
165
+ {
166
+ using (httpClient.GetAsync(EnvironmentManager.Instance.UrlBuilder.LocalWhereIs("quitquitquit")).GetAwaiter().GetResult())
167
168
+
169
+ }
170
171
+ catch (HttpRequestException)
172
173
174
}
0 commit comments