mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Add additional info when backup verification fails.
This commit is contained in:
@@ -52,7 +52,7 @@ public final class StreamUtil {
|
||||
|
||||
for (;;) {
|
||||
int read = in.read(buffer, offset, len - offset);
|
||||
if (read == -1) throw new EOFException("Stream ended early");
|
||||
if (read == -1) throw new EOFException("Stream ended early, offset: " + offset + " len: " + len);
|
||||
|
||||
if (read + offset < len) offset += read;
|
||||
else return;
|
||||
|
||||
Reference in New Issue
Block a user