mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-14 22:59:24 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts: # pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
This commit is contained in:
parent
6bd9b3d82f
commit
bd8536b9eb
@ -80,6 +80,9 @@ func SetContextInfo(ctx context.Context, funcName string, err error, args ...int
|
|||||||
funcInfo.FuncName = utils.GetSelfFuncName()
|
funcInfo.FuncName = utils.GetSelfFuncName()
|
||||||
funcInfo.Err = err
|
funcInfo.Err = err
|
||||||
*t.Funcs = append(*t.Funcs, funcInfo)
|
*t.Funcs = append(*t.Funcs, funcInfo)
|
||||||
|
if err != nil {
|
||||||
|
log.NewError(t.OperationID, funcName, "error: ", err, funcInfo.Args)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetRpcReqInfo(ctx context.Context, funcName string, req string) {
|
func SetRpcReqInfo(ctx context.Context, funcName string, req string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user