mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
refactor: use Debug impl instead of Display impl for logging errors (#5301)
This commit is contained in:
@ -338,8 +338,8 @@ async fn store_bank_details_in_payment_methods(
|
||||
.attach_printable("Failed to deserialize Payment Method Auth config")
|
||||
})
|
||||
.transpose()
|
||||
.unwrap_or_else(|err| {
|
||||
logger::error!(error=?err);
|
||||
.unwrap_or_else(|error| {
|
||||
logger::error!(?error);
|
||||
None
|
||||
})
|
||||
.and_then(|pmd| match pmd {
|
||||
|
||||
Reference in New Issue
Block a user