Reduced logging

This commit is contained in:
M66B 2020-07-06 17:39:21 +02:00
parent 6b08d3512e
commit 1bdd4897f4
1 changed files with 5 additions and 2 deletions

View File

@ -371,13 +371,16 @@ public class ContactInfo {
} }
} }
} catch (Throwable ex) { } catch (Throwable ex) {
Log.w(ex); if (isRecoverable(ex, context))
if (!isRecoverable(ex, context)) Log.i(ex);
else {
Log.w(ex);
try { try {
file.createNewFile(); file.createNewFile();
} catch (IOException ex1) { } catch (IOException ex1) {
Log.e(ex1); Log.e(ex1);
} }
}
} }
} }
} }