Reduced logging

This commit is contained in:
M66B 2022-05-11 14:20:26 +02:00
parent 43030bb38f
commit fbce21dee8
2 changed files with 6 additions and 3 deletions

View File

@ -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"

View File

@ -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();
}