1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Reduced logging

This commit is contained in:
M66B 2022-02-23 20:39:11 +01:00
parent dc22f08f72
commit b79512a750

View file

@ -2022,7 +2022,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
}
} catch (Throwable ex) {
Log.e(folder.name, ex);
if (ex instanceof OperationCanceledException)
Log.i(folder.name, ex);
else
Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder,
account.name + "/" + folder.name + " process " + Log.formatThrowable(ex, false));
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));