Skip to content

Commit 1b4849b

Browse files
authored
Fixed error log (#1284)
What changed? We currently log the wrong error which is always nil, so fixed to log the correct error Why? Because we log the wrong error How did you test it? N/A Potential risks Very low, just changing a log
1 parent a44a6d3 commit 1b4849b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/internal_task_handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ func (ath *activityTaskHandlerImpl) Execute(taskList string, t *s.PollForActivit
16791679
zap.String(tagWorkflowID, t.WorkflowExecution.GetWorkflowId()),
16801680
zap.String(tagRunID, t.WorkflowExecution.GetRunId()),
16811681
zap.String(tagActivityType, activityType),
1682-
zap.Error(err),
1682+
zap.Error(hbErr),
16831683
)
16841684
}
16851685
}

0 commit comments

Comments
 (0)