imvtsl commented on code in PR #32045:
URL: https://github.com/apache/beam/pull/32045#discussion_r1702441734


##########
sdks/go/pkg/beam/core/runtime/harness/statemgr.go:
##########
@@ -633,15 +633,16 @@ func (c *StateChannel) read(ctx context.Context) {
                if !ok {
                        // This can happen if Send returns an error that write 
handles, but
                        // the message was actually sent.
-                       log.Errorf(ctx, "StateChannel[%v].read: no consumer for 
state response: %v", c.id, proto.MarshalTextString(msg))
+                       bytes, _ := prototext.Marshal(msg)

Review Comment:
   Done. I went with msg.String() approach, as we have used this method in 
other places to keep uniformity in the codebase.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to