From 868e8dce0d8c32ffad2ce4cddd9d3b2deccfb41f Mon Sep 17 00:00:00 2001 From: fimanishi Date: Mon, 25 Nov 2024 10:06:04 -0800 Subject: [PATCH] Changed logger from debug to info for EntityNotExistsError --- service/matching/tasklist/task_completer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/matching/tasklist/task_completer.go b/service/matching/tasklist/task_completer.go index 61b310eae01..e307c7bb8a7 100644 --- a/service/matching/tasklist/task_completer.go +++ b/service/matching/tasklist/task_completer.go @@ -109,7 +109,7 @@ func (tc *taskCompleterImpl) CompleteTaskIfStarted(ctx context.Context, task *In workflowExecutionResponse, err := tc.historyService.DescribeWorkflowExecution(ctx, req) if errors.As(err, new(*types.EntityNotExistsError)) { - tc.logger.Debug("Workflow execution not found while attempting to complete task on standby cluster", tag.WorkflowID(task.Event.WorkflowID), tag.WorkflowRunID(task.Event.RunID)) + tc.logger.Info("Workflow execution not found while attempting to complete task on standby cluster", tag.WorkflowID(task.Event.WorkflowID), tag.WorkflowRunID(task.Event.RunID)) return nil } else if err != nil { return fmt.Errorf("unable to fetch workflow execution from the history service: %w", err)