1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +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,6 +2022,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
} }
} catch (Throwable ex) { } catch (Throwable ex) {
if (ex instanceof OperationCanceledException)
Log.i(folder.name, ex);
else
Log.e(folder.name, ex); Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder, EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder,
account.name + "/" + folder.name + " process " + Log.formatThrowable(ex, false)); account.name + "/" + folder.name + " process " + Log.formatThrowable(ex, false));