diff --git a/Geekbot.net/Geekbot.net.csproj b/Geekbot.net/Geekbot.net.csproj index 82b605a..89aab56 100755 --- a/Geekbot.net/Geekbot.net.csproj +++ b/Geekbot.net/Geekbot.net.csproj @@ -42,7 +42,7 @@ 4.3.0 - + diff --git a/Geekbot.net/Lib/ErrorHandler.cs b/Geekbot.net/Lib/ErrorHandler.cs index bd82668..3410e91 100644 --- a/Geekbot.net/Lib/ErrorHandler.cs +++ b/Geekbot.net/Lib/ErrorHandler.cs @@ -1,15 +1,9 @@ using System; using System.Net; -using System.Runtime.InteropServices.ComTypes; -using System.Security.Principal; using Discord.Commands; using Discord.Net; -using Nancy.Extensions; -using Serilog; using SharpRaven; using SharpRaven.Data; -using SharpRaven.Utilities; -using Utf8Json; namespace Geekbot.net.Lib { diff --git a/Geekbot.net/Lib/GeekbotLogger.cs b/Geekbot.net/Lib/GeekbotLogger.cs index 18e8c54..f2feda7 100644 --- a/Geekbot.net/Lib/GeekbotLogger.cs +++ b/Geekbot.net/Lib/GeekbotLogger.cs @@ -2,8 +2,6 @@ using System.Threading.Tasks; using Serilog; using Utf8Json; -using Utf8Json.Formatters; -using Utf8Json.Resolvers; namespace Geekbot.net.Lib { @@ -39,7 +37,7 @@ namespace Geekbot.net.Lib private Task HandleLogObject(string type, string source, string message, Exception stackTrace = null, object extra = null) { - var logJson = CreateLogObject(type, source, message, null, extra); + var logJson = CreateLogObject(type, source, message, stackTrace, extra); // fuck serilog _serilog.Information(logJson + "}"); return Task.CompletedTask;