MissingEntry -> KeyError

This commit is contained in:
Philippe PITTOLI 2024-05-06 21:24:34 +02:00
parent 8a585a2679
commit 7404411ec5

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.