MissingEntry -> KeyError

master
Philippe PITTOLI 2024-05-06 21:24:34 +02:00
parent 8a585a2679
commit 7404411ec5
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ class DODB::Index(V) < DODB::Indexer(V)
get index
rescue MissingEntry
nil
rescue KeyError
nil
end
# FIXME: Unlock on exception.