fix: map not found error properly in db_not found (#1671)

This commit is contained in:
Kartikeya Hegde
2023-07-11 15:10:42 +05:30
committed by GitHub
parent b326c18f45
commit fbd40b5ac4

View File

@ -98,6 +98,7 @@ impl StorageError {
err.current_context(), err.current_context(),
storage_errors::DatabaseError::NotFound storage_errors::DatabaseError::NotFound
), ),
Self::ValueNotFound(_) => true,
_ => false, _ => false,
} }
} }