Upgrade UTF8JSON to 1.3.7
This commit is contained in:
parent
acc8947782
commit
d40d89506e
3 changed files with 2 additions and 10 deletions
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue