mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Handle exception when reading from the log database.
This commit is contained in:
@@ -164,6 +164,9 @@ public class SubmitDebugLogRepository {
|
||||
gzipOutput.write(reader.next().getBytes());
|
||||
gzipOutput.write("\n".getBytes());
|
||||
}
|
||||
} catch (IllegalStateException e) {
|
||||
Log.e(TAG, "Failed to read row!", e);
|
||||
return Optional.absent();
|
||||
}
|
||||
|
||||
StreamUtil.close(gzipOutput);
|
||||
|
||||
Reference in New Issue
Block a user