MissingEntry -> KeyError
This commit is contained in:
parent
8a585a2679
commit
7404411ec5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue