Skip to content

Commit 2473d16

Browse files
committed
more log info
1 parent 44ed67e commit 2473d16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BenchmarksApps/TLS/HttpSys/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// existing netsh bindings to restore after the benchmark run
2121
if (!NetShWrapper.BindingExists(httpsIpPort, out var originalCertThumbprint, out var originalAppId))
2222
{
23-
Console.WriteLine("WARNING: no binding existed, performing a new self-signed certificate generation and binding...");
23+
Console.WriteLine("WARNING: no binding existed...");
2424
throw new ApplicationException($"SslCert binding should exist for '{httpsIpPort}' before. Infrastructure error.");
2525
}
2626

@@ -89,6 +89,7 @@ void OnShutdown()
8989
{
9090
NetShWrapper.DeleteBinding(ipPort: httpsIpPort);
9191
NetShWrapper.SetCertBinding(ipPort: httpsIpPort, certThumbprint: originalCertThumbprint, appId: originalAppId);
92+
NetShWrapper.Show();
9293
}
9394
catch
9495
{

0 commit comments

Comments
 (0)