mirror of https://github.com/M66B/FairEmail.git
Report all exceptions in beta version
This commit is contained in:
parent
252cb1751d
commit
4f79aa58e0
|
@ -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()))
|
||||||
|
|
Loading…
Reference in New Issue