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:46:43 +08:00
parent bd8536b9eb
commit b9a11e4ca1

View File

@ -82,6 +82,8 @@ func SetContextInfo(ctx context.Context, funcName string, err error, args ...int
*t.Funcs = append(*t.Funcs, funcInfo) *t.Funcs = append(*t.Funcs, funcInfo)
if err != nil { if err != nil {
log.NewError(t.OperationID, funcName, "error: ", err, funcInfo.Args) log.NewError(t.OperationID, funcName, "error: ", err, funcInfo.Args)
} else {
log.NewInfo(t.OperationID, funcName, "args: ", funcInfo.Args)
} }
} }