mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
Add additional debug information for mysterious stack trace
Related #6923 // FREEBIE
This commit is contained in:
parent
d6aeeaef2c
commit
bdb67725c5
@ -83,7 +83,7 @@ public class TextSecurePreKeyStore implements PreKeyStore, SignedPreKeyStore {
|
|||||||
results.add(new SignedPreKeyRecord(loadSerializedRecord(signedPreKeyFile)));
|
results.add(new SignedPreKeyRecord(loadSerializedRecord(signedPreKeyFile)));
|
||||||
}
|
}
|
||||||
} catch (IOException | InvalidMessageException e) {
|
} catch (IOException | InvalidMessageException e) {
|
||||||
Log.w(TAG, e);
|
Log.w(TAG, signedPreKeyFile.getAbsolutePath(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ public class TextSecurePreKeyStore implements PreKeyStore, SignedPreKeyStore {
|
|||||||
MasterCipher masterCipher = new MasterCipher(masterSecret);
|
MasterCipher masterCipher = new MasterCipher(masterSecret);
|
||||||
serializedRecord = masterCipher.decryptBytes(serializedRecord);
|
serializedRecord = masterCipher.decryptBytes(serializedRecord);
|
||||||
} else if (recordVersion < PLAINTEXT_VERSION) {
|
} else if (recordVersion < PLAINTEXT_VERSION) {
|
||||||
throw new AssertionError("Migration didn't happen!");
|
throw new AssertionError("Migration didn't happen! " + recordFile.getAbsolutePath() + ", " + recordVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
fin.close();
|
fin.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user