From 4be988df1a0be8fa983d2ce3996b5a96b2b7974b Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 12 Oct 2016 05:58:07 +0200 Subject: [PATCH] Ok that was too heavy and unnecessary --- src/NadekoBot/Services/CommandHandler.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/NadekoBot/Services/CommandHandler.cs b/src/NadekoBot/Services/CommandHandler.cs index cffed5e9..9666eb56 100644 --- a/src/NadekoBot/Services/CommandHandler.cs +++ b/src/NadekoBot/Services/CommandHandler.cs @@ -68,7 +68,6 @@ namespace NadekoBot.Services private async Task MessageReceivedHandler(IMessage msg) { - _log.Info("Message received."); var usrMsg = msg as IUserMessage; if (usrMsg == null) return; @@ -121,9 +120,6 @@ namespace NadekoBot.Services return; } } - - - _log.Info("Done checks."); var throwaway = Task.Run(async () => { var sw = new Stopwatch(); @@ -189,12 +185,7 @@ namespace NadekoBot.Services if (ex.InnerException != null) _log.Warn(ex.InnerException, "Inner Exception of the error in CommandHandler"); } - finally - { - _log.Info("Command handling done."); - } }); - _log.Info("Command handling started."); return; }