Add logging to npTicket reading if platform/gameVersion could not be determined

This commit is contained in:
jvyden 2022-01-27 16:52:45 -05:00
commit 480fb4b040
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -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;
}