查询商品列表失败

来源:48-4 修改grpc_opentracing源码

无限灬

2022-11-23

2022/11/23 10:44:27 debug logging disabled

2022/11/23 10:44:27 Initializing logging reporter

2022/11/23 10:44:27 debug logging disabled

商品列表

2022/11/23 10:44:27 Reporting span 7bef9e24f070b6eb:2843a5dc3e025531:7bef9e24f070b6eb:1

2022-11-23T10:44:27.696+0800    ERROR   goods/goods.go:133      [List] 查询 【商品列表】失败

mxshop-api/goods-web/api/goods.List

        /Users/zhangshikang/Documents/code/resources/mxshop-api/goods-web/api/goods/goods.go:133

github.com/gin-gonic/gin.(*Context).Next

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161

mxshop-api/goods-web/middlewares.Trace.func1

        /Users/zhangshikang/Documents/code/resources/mxshop-api/goods-web/middlewares/tracing.go:39

github.com/gin-gonic/gin.(*Context).Next

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161

github.com/gin-gonic/gin.RecoveryWithWriter.func1

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/recovery.go:83

github.com/gin-gonic/gin.(*Context).Next

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161

github.com/gin-gonic/gin.LoggerWithConfig.func1

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/logger.go:241

github.com/gin-gonic/gin.(*Context).Next

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161

github.com/gin-gonic/gin.(*Engine).handleHTTPRequest

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:409

github.com/gin-gonic/gin.(*Engine).ServeHTTP

        /Users/zhangshikang/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:367

net/http.serverHandler.ServeHTTP

        /usr/local/go/src/net/http/server.go:2916

net/http.(*conn).serve

        /usr/local/go/src/net/http/server.go:1966

2022/11/23 10:44:27 Reporting span 7bef9e24f070b6eb:7bef9e24f070b6eb:0000000000000000:1

[GIN] 2022/11/23 - 10:44:27 | 500 |    1.654667ms |  192.168.50.234 | GET      "/g/v1/goods"


写回答

1回答

bobby

2022-11-25

看看服务端的异常信息是什么

0
0

Go+Python打造电商系统 自研微服务框架 抓紧高薪机遇

快速转型Go工程师,成为具备双语言后端能力的开发者

508 学习 · 530 问题

查看课程