mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Filter exception
This commit is contained in:
@@ -519,7 +519,8 @@ public class Log {
|
||||
|
||||
if (ex instanceof RuntimeException &&
|
||||
ex.getMessage() != null &&
|
||||
ex.getMessage().startsWith("Could not get application info"))
|
||||
(ex.getMessage().startsWith("Could not get application info") ||
|
||||
ex.getMessage().startsWith("Unable to create service")))
|
||||
return false;
|
||||
/*
|
||||
java.lang.RuntimeException: Could not get application info.
|
||||
@@ -531,6 +532,10 @@ public class Log {
|
||||
at android.os.Handler.dispatchMessage(Handler.java:100)
|
||||
at android.os.Looper.loop(Looper.java:198)
|
||||
at android.os.HandlerThread.run(HandlerThread.java:65)
|
||||
|
||||
java.lang.RuntimeException: Unable to create service eu.faircode.email.ServiceSynchronize: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List android.os.IUserManager.getProfiles(int, boolean)' on a null object reference
|
||||
java.lang.RuntimeException: Unable to create service eu.faircode.email.ServiceSynchronize: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List android.os.IUserManager.getProfiles(int, boolean)' on a null object reference
|
||||
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2739)
|
||||
*/
|
||||
|
||||
if (ex instanceof RuntimeException &&
|
||||
|
||||
Reference in New Issue
Block a user