mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-29 10:36:17 +08:00
log
This commit is contained in:
parent
77a9fad102
commit
56cd2b0a46
@ -4,6 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
|
||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
@ -127,6 +128,8 @@ func (c *Client) handleMessage(message []byte) error {
|
|||||||
switch binaryReq.ReqIdentifier {
|
switch binaryReq.ReqIdentifier {
|
||||||
case WSGetNewestSeq:
|
case WSGetNewestSeq:
|
||||||
resp, messageErr = c.longConnServer.GetSeq(ctx, binaryReq)
|
resp, messageErr = c.longConnServer.GetSeq(ctx, binaryReq)
|
||||||
|
log.ZError(ctx, "WSGetNewestSeq", messageErr, "resp", resp)
|
||||||
|
|
||||||
case WSSendMsg:
|
case WSSendMsg:
|
||||||
resp, messageErr = c.longConnServer.SendMessage(ctx, binaryReq)
|
resp, messageErr = c.longConnServer.SendMessage(ctx, binaryReq)
|
||||||
case WSSendSignalMsg:
|
case WSSendSignalMsg:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user