diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index dfeddb0116..89698a57ba 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -371,16 +371,13 @@ public class ContactInfo { } } } catch (Throwable ex) { - if (isRecoverable(ex, context)) - Log.w(ex); - else { - Log.e(ex); + Log.w(ex); + if (!isRecoverable(ex, context)) try { file.createNewFile(); } catch (IOException ex1) { Log.e(ex1); } - } } } }