Report all exceptions in beta version

This commit is contained in:
M66B 2018-12-30 07:55:31 +00:00
parent 252cb1751d
commit 4f79aa58e0
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ public class ApplicationEx extends Application {
if (ex instanceof RuntimeException && ex.getCause() instanceof DeadSystemException) if (ex instanceof RuntimeException && ex.getCause() instanceof DeadSystemException)
return false; return false;
if (BuildConfig.BETA_RELEASE)
return true;
while (ex != null) { while (ex != null) {
for (StackTraceElement ste : ex.getStackTrace()) for (StackTraceElement ste : ex.getStackTrace())
if (ste.getClassName().startsWith(getPackageName())) if (ste.getClassName().startsWith(getPackageName()))