Improve an registration error log.

fork-5.53.8
Greyson Parrelli 2022-10-07 16:07:39 -04:00
rodzic a9f654a520
commit 5fb0956c16
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -182,7 +182,7 @@ public class KeyBackupService {
Log.i(TAG, "Restore TOKEN_MISMATCH");
// if the number of tries has not fallen, the pin is correct we're just using an out of date token
boolean canRetry = remainingTries == status.getTries();
Log.i(TAG, String.format(Locale.US, "Token MISMATCH %d %d", remainingTries, status.getTries()));
Log.i(TAG, String.format(Locale.US, "Token MISMATCH remainingTries: %d, status.getTries(): %d", remainingTries, status.getTries()));
throw new TokenException(nextToken, canRetry);
case MISSING:
Log.i(TAG, "Restore OK! No data though");