This commit is contained in:
wangchuxiao
2023-03-13 10:10:50 +08:00
parent 5feffcef42
commit c7a8536278
3 changed files with 2 additions and 47 deletions
-1
View File
@@ -40,7 +40,6 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
opUserID = opts[0]
}
ctx = tracelog.SetFuncInfos(ctx, funcName, operationID)
defer log.ShowLog(ctx)
tracelog.SetCtxInfo(ctx, funcName, err, "opUserID", opUserID, "rpcReq", rpcString(req))
resp, err = handler(ctx, req)
if err != nil {