diff --git a/src/dodb/index.cr b/src/dodb/index.cr index 6326a57..fff35df 100644 --- a/src/dodb/index.cr +++ b/src/dodb/index.cr @@ -65,6 +65,8 @@ class DODB::Index(V) < DODB::Indexer(V) get index rescue MissingEntry nil + rescue KeyError + nil end # FIXME: Unlock on exception.