mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
debug
This commit is contained in:
parent
c2686beb9b
commit
d99d7ac63c
@ -185,10 +185,7 @@ func ParseToken(tokensString, operationID string) (claims *Claims, err error) {
|
||||
log.Error(operationID, errMsg)
|
||||
}
|
||||
info := err.(constant.ErrInfo)
|
||||
if info == constant.ErrTokenUnknown {
|
||||
errMsg := "info == constant.ErrTokenUnknown " + err.Error()
|
||||
log.Error(operationID, errMsg)
|
||||
}
|
||||
log.Error(operationID, "detail info , ", info.ErrCode, info.ErrMsg)
|
||||
|
||||
e := errors.Unwrap(err)
|
||||
if errors.Is(e, constant.ErrTokenUnknown) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user