1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

Report all exceptions in beta version

This commit is contained in:
M66B 2018-12-30 07:55:31 +00:00
parent 252cb1751d
commit 4f79aa58e0

View file

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