From 0a5aaed5323befa045b037e52adfb02726529e14 Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 13 Jan 2025 13:19:29 +0000 Subject: [PATCH] Fixed logging messages --- Core/Helpers/QuestHelper.cs | 2 +- Core/Servers/SaveServer.cs | 2 +- Core/Services/TraderPurchasePersisterService.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Helpers/QuestHelper.cs b/Core/Helpers/QuestHelper.cs index 2e7b85e4..1ecbab3d 100644 --- a/Core/Helpers/QuestHelper.cs +++ b/Core/Helpers/QuestHelper.cs @@ -633,7 +633,7 @@ public class QuestHelper if (unlockTime > _timeUtil.GetTimeStamp()) { _logger.Debug( - $"Quest ${ quest.QuestName} is locked for another ${unlockTime - _timeUtil.GetTimeStamp()} seconds"); + $"Quest { quest.QuestName} is locked for another: {unlockTime - _timeUtil.GetTimeStamp()} seconds"); } } } diff --git a/Core/Servers/SaveServer.cs b/Core/Servers/SaveServer.cs index d17e78b0..839e4b07 100644 --- a/Core/Servers/SaveServer.cs +++ b/Core/Servers/SaveServer.cs @@ -123,7 +123,7 @@ public class SaveServer if (profiles == null || profiles.Count == 0) { - throw new Exception($"no profiles found in saveServer with id: ${sessionId}"); + throw new Exception($"no profiles found in saveServer with id: {sessionId}"); } if (!profiles.TryGetValue(sessionId, out var sptProfile)) diff --git a/Core/Services/TraderPurchasePersisterService.cs b/Core/Services/TraderPurchasePersisterService.cs index 45a5051c..0adca3d0 100644 --- a/Core/Services/TraderPurchasePersisterService.cs +++ b/Core/Services/TraderPurchasePersisterService.cs @@ -114,7 +114,7 @@ public class TraderPurchasePersisterService if (resetTimeForItem < _timeUtil.GetTimeStamp()) { // Item was purchased far enough in past a trader refresh would have occured, remove purchase record from profile - _logger.Debug($"Removed trader: ${ traderId} purchase: ${ purchaseKvP} from profile: ${ profile.ProfileInfo.ProfileId}"); + _logger.Debug($"Removed trader: { traderId} purchase: { purchaseKvP} from profile: { profile.ProfileInfo.ProfileId}"); profile.TraderPurchases.Remove(purchaseKvP.Key); }