mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Reduced logging
This commit is contained in:
parent
43030bb38f
commit
fbce21dee8
2 changed files with 6 additions and 3 deletions
|
@ -150,7 +150,7 @@ android {
|
|||
productFlavors {
|
||||
github {
|
||||
dimension "all"
|
||||
buildConfigField "boolean", "TEST_RELEASE", "false"
|
||||
buildConfigField "boolean", "TEST_RELEASE", "true"
|
||||
buildConfigField "boolean", "BETA_RELEASE", "true"
|
||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
||||
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
||||
|
|
|
@ -2034,7 +2034,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
ifolder = iservice.getStore().getFolder(folder.name);
|
||||
} catch (IllegalStateException ex) {
|
||||
if ("Not connected".equals(ex.getMessage())) {
|
||||
Log.w(ex);
|
||||
Log.i(ex);
|
||||
return; // Store closed
|
||||
} else
|
||||
throw ex;
|
||||
|
@ -2124,7 +2124,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
}
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
if ("Not connected".equals(ex.getMessage()))
|
||||
Log.i(ex);
|
||||
else
|
||||
Log.e(ex);
|
||||
} finally {
|
||||
wlOperations.release();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue