Fixed logging messages

This commit is contained in:
Chomp
2025-01-13 13:19:29 +00:00
parent b6df051f24
commit 0a5aaed532
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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");
}
}
}
+1 -1
View File
@@ -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))
@@ -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);
}