Merge pull request #4655 from nextcloud/revertDisableException

Revert disabling of exception handler
This commit is contained in:
Andy Scherzinger authored and GitHub committed 2019-10-11 08:11:59 +02:00
commit 45f5b384db
1 file changed
+1 -1
@@ -219,7 +219,7 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector {
final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash");
final boolean useExceptionHandler = !appInfo.isDebugBuild();
if (!isCrashReportingProcess) {
if (!isCrashReportingProcess && useExceptionHandler) {
Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler();
final ExceptionHandler crashReporter = new ExceptionHandler(this,
defaultPlatformHandler);