From 480fb4b0406bc81ebddb9fcb6ec6fcab279d0721 Mon Sep 17 00:00:00 2001 From: jvyden Date: Thu, 27 Jan 2022 16:52:45 -0500 Subject: [PATCH] Add logging to npTicket reading if platform/gameVersion could not be determined --- ProjectLighthouse/Types/Tickets/NPTicket.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ProjectLighthouse/Types/Tickets/NPTicket.cs b/ProjectLighthouse/Types/Tickets/NPTicket.cs index dd1f1f3b..4b33b623 100644 --- a/ProjectLighthouse/Types/Tickets/NPTicket.cs +++ b/ProjectLighthouse/Types/Tickets/NPTicket.cs @@ -111,7 +111,13 @@ public class NPTicket if (npTicket.Platform == Platform.Unknown) { - Logger.Log($"", LoggerLevelLogin.Instance); + Logger.Log($"Could not determine platform from IssuerId {npTicket.IssuerId} decimal", LoggerLevelLogin.Instance); + return null; + } + + if (npTicket.GameVersion == GameVersion.Unknown) + { + Logger.Log($"Could not determine game version from title id {titleId}", LoggerLevelLogin.Instance); return null; }