Suppress server messages in releases

pull/146/head
M66B 6 years ago
parent 06239e9c88
commit 3c424c67b2

@ -691,6 +691,7 @@ public class ServiceSynchronize extends LifecycleService {
try {
wl.acquire();
Log.i(Helper.TAG, account.name + " event: " + e.getMessage());
if (BuildConfig.DEBUG)
db.account().setAccountError(account.id, e.getMessage());
state.thread.interrupt();
yieldWakelock();

Loading…
Cancel
Save