mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
issue error directly when doc is malformated
This should popup a message saying "No reader engine for this file" instead of a crash when document file is malformated. This should fix #868.
This commit is contained in:
@@ -24,7 +24,6 @@ local Document = {
|
||||
|
||||
-- flag to show whether the document was opened successfully
|
||||
is_open = false,
|
||||
error_message = nil,
|
||||
|
||||
-- flag to show that the document needs to be unlocked by a password
|
||||
is_locked = false,
|
||||
|
||||
Reference in New Issue
Block a user