From 934685970b4a5e4c2ec04f6714a1c31a62bae7cc Mon Sep 17 00:00:00 2001 From: Madpeter Date: Fri, 15 May 2020 23:33:59 +0100 Subject: [PATCH] removes the unused exception --- CLI/HttpServer/SecondBotHttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLI/HttpServer/SecondBotHttpServer.cs b/CLI/HttpServer/SecondBotHttpServer.cs index c7dd8bd..caebf9e 100644 --- a/CLI/HttpServer/SecondBotHttpServer.cs +++ b/CLI/HttpServer/SecondBotHttpServer.cs @@ -258,7 +258,7 @@ namespace BetterSecondBot.HttpServer Task listenTask = HandleIncomingConnections(); listenTask.GetAwaiter().GetResult(); } - catch (Exception e) + catch { ConsoleLog.Status("HTTP died"); //ConsoleLog.Status("Http interface killed itself: " + e.ToString() + "");