Skip to content

Commit 9de3cdb

Browse files
authored
refactor(core): log the appropriate error message if the card fails to get saved in locker (#4296)
1 parent 63d2b68 commit 9de3cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/router/src/core/payments/flows/authorize_flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Feature<api::Authorize, types::PaymentsAuthorizeData> for types::PaymentsAu
140140
resp.payment_method_id = payment_method_id.clone();
141141
resp.payment_method_status = payment_method_status;
142142
}
143-
Err(_) => logger::error!("Save pm to locker failed"),
143+
Err(err) => logger::error!("Save pm to locker failed : {err:?}"),
144144
}
145145

146146
Ok(resp)

0 commit comments

Comments
 (0)