chore: fix luacheck warning
This commit is contained in:
1 parent
3b92bdc084
commit
9c46cafc9c
2 files changed
+2
-2
No files matched your search
@@ -329,7 +329,7 @@ function ReaderUI:showReader(file)
|
||||
self:doShowReader(file)
|
||||
end)
|
||||
local ok, err = coroutine.resume(co)
|
||||
if err ~= nil then
|
||||
if err ~= nil or ok == false then
|
||||
print '[!] doShowReader coroutine crashed:'
|
||||
print(debug.traceback(co, err, 1))
|
||||
UIManager.quit()
|
||||
|
||||
Reference in new issue
Block a user