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