test: push log add

This commit is contained in:
Gordon 2023-06-06 17:51:01 +08:00
parent 35ceb7542a
commit 6c8f368908

View File

@ -1,6 +1,7 @@
package msggateway
import (
context2 "context"
"errors"
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
"net/http"
@ -197,6 +198,7 @@ func (ws *WsServer) wsHandler(w http.ResponseWriter, r *http.Request) {
httpError(context, errs.ErrConnArgsErr)
return
}
log.ZDebug(context2.Background(), "conn", "platformID", platformID)
err := tokenverify.WsVerifyToken(token, userID, platformID)
if err != nil {
httpError(context, err)