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: mark UCS shadow gateway failures non-primary (#13562)
gopikrishna0004eff11762cef
diff --git a/crates/hyperswitch_interfaces/src/api/gateway.rs b/crates/hyperswitch_interfaces/src/api/gateway.rsindex c4abcf2087..070e0e1829 100644--- a/crates/hyperswitch_interfaces/src/api/gateway.rs+++ b/crates/hyperswitch_interfaces/src/api/gateway.rs@@ -432,7 +432,12 @@ where.attach_printable("Gateway execution failed");if let Err(e) = &ucs_shadow_result {- logger::error!(error=?e, "UCS shadow execution failed");+ logger::warn!(+ error=?e,+ execution_mode="shadow",+ primary_impact=false,+ "UCS shadow execution failed; primary execution result is unaffected"+ );}let ucs_for_compare = match ucs_shadow_result {@@ -572,7 +577,12 @@ where.attach_printable("Gateway execution failed");if let Err(e) = &ucs_shadow_result {- logger::error!(error=?e, "UCS shadow execution failed");+ logger::warn!(+ error=?e,+ execution_mode="shadow",+ primary_impact=false,+ "UCS shadow execution failed; primary execution result is unaffected"+ );}let ucs_for_compare = match ucs_shadow_result {