Skip to content

Commit 55150ae

Browse files
authored
Update worker_grpc.go
Signed-off-by: salaboy <[email protected]>
1 parent 267784b commit 55150ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/worker_grpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (c *TaskHubGrpcClient) processActivityWorkItem(
178178
var ptc *protos.TraceContext = req.ParentTraceContext
179179
ctx, err := helpers.ContextFromTraceContext(ctx, ptc)
180180
if err != nil {
181-
fmt.Printf("%v: failed to parse trace context: %v", req.Name, err)
181+
c.logger.Warn("%v: failed to parse trace context: %v", req.Name, err)
182182
}
183183

184184
event := &protos.HistoryEvent{

0 commit comments

Comments
 (0)