fix(process_tracker): log and ignore the duplicate entry error (#1502)

This commit is contained in:
Narayan Bhat
2023-06-21 21:31:52 +05:30
committed by GitHub
parent 6944415da1
commit 424e77c912

View File

@ -134,7 +134,9 @@ where
operation
.to_domain()?
.add_task_to_process_tracker(state, &payment_data.payment_attempt)
.await?;
.await
.map_err(|error| logger::error!(process_tracker_error=?error))
.ok();
}
payment_data = match connector_details {