You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger.Error(exception,"Failed to retrieve a score submission token.");
144
+
Logger.Error(exception,$"Failed to retrieve a score submission token.\n\n{whatWillHappen}");
139
145
else
140
146
{
141
147
switch(exception.Message)
142
148
{
143
-
case"expired token":
144
-
Logger.Log("Score submission failed because your system clock is set incorrectly. Please check your system time, date and timezone.",level:LogLevel.Important);
149
+
case@"missing token header":
150
+
case@"invalid client hash":
151
+
case@"invalid verification hash":
152
+
Logger.Log($"Please ensure that you are using the latest version of the official game releases.\n\n{whatWillHappen}",level:LogLevel.Important);
153
+
break;
154
+
155
+
case@"expired token":
156
+
Logger.Log($"Your system clock is set incorrectly. Please check your system time, date and timezone.\n\n{whatWillHappen}",level:LogLevel.Important);
145
157
break;
146
158
147
159
default:
148
-
Logger.Log($"You are not able to submit a score:{exception.Message}",level:LogLevel.Important);
/// <param name="exception">The error causing the failure.</param>
172
181
/// <returns>Whether gameplay should be immediately exited as a result. Returning false allows the gameplay session to continue. Defaults to true.</returns>
0 commit comments