diff --git a/app/src/main/java/me/impy/aegis/ui/EditEntryActivity.java b/app/src/main/java/me/impy/aegis/ui/EditEntryActivity.java index f9ccdacd..d035f2e2 100644 --- a/app/src/main/java/me/impy/aegis/ui/EditEntryActivity.java +++ b/app/src/main/java/me/impy/aegis/ui/EditEntryActivity.java @@ -536,7 +536,7 @@ public class EditEntryActivity extends AegisActivity { ObjectInputStream ois = new ObjectInputStream(bais); return (DatabaseEntry) ois.readObject(); } catch (ClassNotFoundException | IOException e) { - return null; + throw new RuntimeException(e); } }