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