mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Handle web socket closed unexpectedly errors more gracefully.
This commit is contained in:
committed by
Greyson Parrelli
parent
49e57a3c66
commit
e6c5080a07
@@ -362,6 +362,8 @@ public class ApplicationContext extends Application implements AppForegroundObse
|
||||
return;
|
||||
}
|
||||
|
||||
Log.e(TAG, "RxJava error handler invoked", e);
|
||||
|
||||
Thread.UncaughtExceptionHandler uncaughtExceptionHandler = Thread.currentThread().getUncaughtExceptionHandler();
|
||||
if (uncaughtExceptionHandler == null) {
|
||||
uncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
|
||||
|
||||
Reference in New Issue
Block a user