Skip to content

Commit

Permalink
Changed logger from debug to info for EntityNotExistsError
Browse files Browse the repository at this point in the history
  • Loading branch information
fimanishi committed Nov 25, 2024
1 parent 0185c03 commit 868e8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/matching/tasklist/task_completer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 868e8dc

Please sign in to comment.