Skip to content

Commit 105a787

Browse files
committed
Make logging fields consistent
1 parent a495a57 commit 105a787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/workflow/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (e *executor) ExecuteTask(ctx context.Context, t *task.Workflow) (*Executio
116116
e.workflowCompleted(nil, err)
117117
skipNewEvents = true
118118
} else if t.LastSequenceID != e.lastSequenceID {
119-
logger.Debug("Task has newer history than current state", "task_sequence_id", t.LastSequenceID, "sequence_id", e.lastSequenceID)
119+
logger.Error("After replaying history, task still has newer history than current state", "task_sequence_id", t.LastSequenceID, "local_sequence_id", e.lastSequenceID)
120120

121121
return nil, errors.New("even after fetching history and replaying history executor state does not match task")
122122
}

0 commit comments

Comments
 (0)