MissingEntry -> KeyError
This commit is contained in:
parent
8a585a2679
commit
7404411ec5
@ -65,6 +65,8 @@ class DODB::Index(V) < DODB::Indexer(V)
|
||||
get index
|
||||
rescue MissingEntry
|
||||
nil
|
||||
rescue KeyError
|
||||
nil
|
||||
end
|
||||
|
||||
# FIXME: Unlock on exception.
|
||||
|
Loading…
Reference in New Issue
Block a user