From bae93ae139ed0691330ab2cac078024065b74827 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 18 Jul 2023 14:52:40 +0800 Subject: [PATCH] debug: print stack --- internal/push/push_to_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/push_to_client.go b/internal/push/push_to_client.go index 25fd7ff47..aaaa14e95 100644 --- a/internal/push/push_to_client.go +++ b/internal/push/push_to_client.go @@ -257,7 +257,7 @@ func (p *Pusher) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws.MsgData, if err != nil { return nil, err } - fmt.Println(string(debug.Stack())) + fmt.Println(mcontext.GetOperationID(ctx), string(debug.Stack())) // Online push message for _, v := range conns { msgClient := msggateway.NewMsgGatewayClient(v)