Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Show FileManager in case of showReaderCoroutine failure #4931

Merged
merged 1 commit into from Apr 17, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

[chore] Show FileManager in case of showReaderCoroutine failure

Same as #2956.

Fixes #4928.
  • Loading branch information...
Frenzie committed Apr 16, 2019
commit c20d9ff4c3678298bfd7731cad0c26e7f23a5355
@@ -478,7 +478,10 @@ function ReaderUI:showReaderCoroutine(file, provider)
if err ~= nil or ok == false then
io.stderr:write('[!] doShowReader coroutine crashed:\n')
io.stderr:write(debug.traceback(co, err, 1))
UIManager:quit()
UIManager:show(InfoMessage:new{
text = _("No reader engine for this file or invalid file.")
})
self:showFileManager()
end
end)
end
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.