From 7404411ec5d3669aca4fa55edd1ad9261f183354 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Mon, 6 May 2024 21:24:34 +0200 Subject: [PATCH] MissingEntry -> KeyError --- src/dodb/index.cr | 2 ++ 1 file changed, 2 insertions(+) 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.