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:
wangchuxiao 2023-01-04 19:45:56 +08:00
parent 6bd9b3d82f
commit bd8536b9eb

View File

@ -80,6 +80,9 @@ func SetContextInfo(ctx context.Context, funcName string, err error, args ...int
funcInfo.FuncName = utils.GetSelfFuncName()
funcInfo.Err = err
*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) {