From b4708c5d10d626bfd117408cfe45ad45df7a5c23 Mon Sep 17 00:00:00 2001 From: Glax Date: Wed, 28 Feb 2024 02:12:23 +0100 Subject: [PATCH] Encoding 850 issue for jsonconvert --- Tranga/GlobalBase.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tranga/GlobalBase.cs b/Tranga/GlobalBase.cs index e9c68d0..ebf4cd3 100644 --- a/Tranga/GlobalBase.cs +++ b/Tranga/GlobalBase.cs @@ -9,7 +9,8 @@ namespace Tranga; public abstract class GlobalBase { - protected Logger? logger { get; init; } + [JsonIgnore] + public Logger? logger { get; init; } protected TrangaSettings settings { get; init; } protected HashSet notificationConnectors { get; init; } protected HashSet libraryConnectors { get; init; }