1
0
Fork 0
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:
M66B 2018-11-12 18:12:29 +01:00
parent 06239e9c88
commit 3c424c67b2

View file

@ -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 {