Skip to content

Commit

Permalink
Removed some prints
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Jan 13, 2025
1 parent d920d3c commit 7d58002
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -15597,7 +15597,7 @@ func ParsedExecutionResult(ctx context.Context, workflowExecution WorkflowExecut

resultExists := false
for _, result := range workflowExecution.Results {
log.Printf("[DEBUG][%s] Checking if result %s (%s) exists in results", workflowExecution.ExecutionId, result.Action.Label, result.Action.ID)
//log.Printf("[DEBUG][%s] Checking if result %s (%s) exists in results", workflowExecution.ExecutionId, result.Action.Label, result.Action.ID)
if result.Action.ID == curAction.ID {
resultExists = true
break
Expand All @@ -15615,7 +15615,7 @@ func ParsedExecutionResult(ctx context.Context, workflowExecution WorkflowExecut
for _, trigger := range workflowExecution.Workflow.Triggers {
if trigger.ID == branch.SourceID {
if trigger.AppName != "User Input" && trigger.AppName != "Shuffle Workflow" {
log.Printf("[DEBUG][%s] Parent %s (%s) is a trigger. Continuing..", workflowExecution.ExecutionId, branch.SourceID, curAction.Label)
//log.Printf("[DEBUG][%s] Parent %s (%s) is a trigger. Continuing..", workflowExecution.ExecutionId, branch.SourceID, curAction.Label)
parentTrigger = true
}
}
Expand All @@ -15626,7 +15626,7 @@ func ParsedExecutionResult(ctx context.Context, workflowExecution WorkflowExecut
continue
}

log.Printf("[DEBUG][%s] Parent %s (of child %s) is NOT a trigger. Continuing..", workflowExecution.ExecutionId, branch.SourceID, nodeId)
//log.Printf("[DEBUG][%s] Parent %s (of child %s) is NOT a trigger. Continuing..", workflowExecution.ExecutionId, branch.SourceID, nodeId)

sourceNodeFound := false
for _, item := range childNodes {
Expand Down Expand Up @@ -30004,7 +30004,8 @@ func checkExecutionStatus(ctx context.Context, exec *WorkflowExecution) *Workflo
marshalledListData := []SubflowData{}
err := json.Unmarshal([]byte(res.Result), &marshalledListData)
if err != nil {
log.Printf("[ERROR] Failed unmarshalling subflow data for %s: %s", res.Action.Label, err)
//log.Printf("[ERROR] Failed unmarshalling subflow data for %s: %s", res.Action.Label, err)

marshalledData := SubflowData{}
err := json.Unmarshal([]byte(res.Result), &marshalledData)
if err != nil {
Expand Down

0 comments on commit 7d58002

Please sign in to comment.