mirror of https://github.com/M66B/FairEmail.git
Suppress server messages in releases
This commit is contained in:
parent
06239e9c88
commit
3c424c67b2
|
@ -691,7 +691,8 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
try {
|
||||
wl.acquire();
|
||||
Log.i(Helper.TAG, account.name + " event: " + e.getMessage());
|
||||
db.account().setAccountError(account.id, e.getMessage());
|
||||
if (BuildConfig.DEBUG)
|
||||
db.account().setAccountError(account.id, e.getMessage());
|
||||
state.thread.interrupt();
|
||||
yieldWakelock();
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue