From fbd40b5ac44b7410da9d4b139b15561e20bca616 Mon Sep 17 00:00:00 2001 From: Kartikeya Hegde Date: Tue, 11 Jul 2023 15:10:42 +0530 Subject: [PATCH] fix: map not found error properly in db_not found (#1671) --- crates/router/src/core/errors.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/router/src/core/errors.rs b/crates/router/src/core/errors.rs index e615ef7128..0b4e71ffa8 100644 --- a/crates/router/src/core/errors.rs +++ b/crates/router/src/core/errors.rs @@ -98,6 +98,7 @@ impl StorageError { err.current_context(), storage_errors::DatabaseError::NotFound ), + Self::ValueNotFound(_) => true, _ => false, } }