hotfix: Should stop referencing nil values
Don't know why we were getting there, but maybe this will fix the problem?
This commit is contained in:
@@ -416,6 +416,11 @@ function Picker:find()
|
|||||||
local process_result = function(entry)
|
local process_result = function(entry)
|
||||||
self:_increment("processed")
|
self:_increment("processed")
|
||||||
|
|
||||||
|
if not entry then
|
||||||
|
log.debug("No entry...")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
-- TODO: Should we even have valid?
|
-- TODO: Should we even have valid?
|
||||||
if entry.valid == false then
|
if entry.valid == false then
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user