diff --git a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java index a9217b16c..85b1ac90c 100644 --- a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java +++ b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java @@ -268,6 +268,8 @@ public class FileBackend { if (cursor.moveToFirst()) { filename = cursor.getString(0); } + } catch (Exception e) { + filename = null; } finally { cursor.close(); }