Upgrade UTF8JSON to 1.3.7

This commit is contained in:
Runebaas 2018-02-14 23:40:44 +01:00
parent acc8947782
commit d40d89506e
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
3 changed files with 2 additions and 10 deletions

View file

@ -42,7 +42,7 @@
<PackageReference Include="System.Runtime.Serialization.Primitives">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="Utf8Json" Version="1.3.1" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
</ItemGroup>
<ItemGroup>
<None Update="Storage\checkEmPics">

View file

@ -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
{

View file

@ -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;