mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
added logs
This commit is contained in:
@ -265,10 +265,6 @@ pub mod business_status {
|
||||
pub const EXECUTE_WORKFLOW_COMPLETE_FOR_REVIEW: &str =
|
||||
"COMPLETED_EXECUTE_TASK_TO_TRIGGER_REVIEW";
|
||||
|
||||
/// This status indicates that the execute task was completed due to no token found
|
||||
pub const EXECUTE_WORKFLOW_COMPLETE_DUE_TO_NO_TOKEN_FOUND: &str =
|
||||
"COMPLETED_EXECUTE_TASK_DUE_TO_NO_TOKEN_FOUND";
|
||||
|
||||
/// This status indicates that the requeue was triggered for execute task
|
||||
pub const EXECUTE_WORKFLOW_REQUEUE: &str = "TRIGGER_REQUEUE_FOR_EXECUTE_WORKFLOW";
|
||||
|
||||
|
||||
@ -229,7 +229,7 @@ pub async fn perform_execute_payment(
|
||||
db.as_scheduler()
|
||||
.finish_process_with_business_status(
|
||||
execute_task_process.clone(),
|
||||
business_status::EXECUTE_WORKFLOW_COMPLETE_DUE_TO_NO_TOKEN_FOUND,
|
||||
business_status::EXECUTE_WORKFLOW_COMPLETE,
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user