From 86b1e4ad5db6780378a502ab94960212918ebb89 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 22 Jan 2025 13:12:14 +0100 Subject: [PATCH] light modification --- models/workflow_execution/workflow_scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index e07bd66..7269644 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -106,7 +106,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (* for _, exec := range executions { err := exec.PurgeDraft(request) if err != nil { - return nil, []*WorkflowExecutions{}, errors.New("could not book the workflow" + fmt.Sprintf("%v", err)) + return nil, []*WorkflowExecutions{}, errors.New("purge draft" + fmt.Sprintf("%v", err)) } exec.GenerateID() // Should DELETE the previous execution2