diff --git a/src/dodb.cr b/src/dodb.cr index d80bc5d..82dc5b8 100644 --- a/src/dodb.cr +++ b/src/dodb.cr @@ -336,8 +336,7 @@ class DODB::DataBase(V) < DODB::Storage(V) begin ::File.delete file_path key - rescue - # FIXME: Only intercept “no such file" errors + rescue File::NotFoundError end remove_indexes key, value