mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Reduced logging
This commit is contained in:
parent
dc22f08f72
commit
b79512a750
1 changed files with 4 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue