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