Skip to content

Commit

Permalink
Add more logging to child workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wxing1292 committed Dec 30, 2020
1 parent f407135 commit 576b1be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/history/transferQueueActiveTaskExecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,14 @@ func (t *transferQueueActiveTaskExecutor) startWorkflowWithRetry(
var err error
op := func() error {
response, err = t.historyClient.StartWorkflowExecution(ctx, request)
if err != nil {
t.logger.Error("Failed to start child workflow execution",
tag.WorkflowNamespaceID(task.GetNamespaceId()),
tag.WorkflowID(task.GetWorkflowId()),
tag.WorkflowRunID(task.GetRunId()),
tag.Error(err),
)
}
return err
}

Expand Down

0 comments on commit 576b1be

Please sign in to comment.