mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Suppress server messages in releases
This commit is contained in:
parent
06239e9c88
commit
3c424c67b2
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue