Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(api_keys): fix internal server error being thrown when trying to update or delete non-existent API key (#3762)
Sanchith Hegde5c24a76fbd0d
diff --git a/crates/storage_impl/src/errors.rs b/crates/storage_impl/src/errors.rsindex 14d1eb2db6..9e3ef903f5 100644--- a/crates/storage_impl/src/errors.rs+++ b/crates/storage_impl/src/errors.rs@@ -139,6 +139,7 @@ impl StorageError {pub fn is_db_not_found(&self) -> bool {match self {Self::DatabaseError(err) => matches!(err.current_context(), DatabaseError::NotFound),+ Self::ValueNotFound(_) => true,_ => false,}}