Message
[http_server.go:259] [PANIC] recovered | path=/api/sub_flow_random_push_review | method=GET | ip=220.203.161.43 | err=runtime error: invalid memory address or nil pointer dereference
goroutine 3486309 [running]:
runtime/debug.Stack()
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/debug/stack.go:26 +0x5e
cbg-trade/internal/apps/value.(*HttpServer).recoveryMiddleware.func1(0xc00957ca00, {0xf81420, 0x1c06db0})
/root/sources/cbg-value/internal/apps/value/http_server.go:264 +0x3b
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1.1()
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:98 +0x776
panic({0xf81420?, 0x1c06db0?})
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132
cbg-trade/internal/apps/value.getMainDesc(...)
/root/sources/cbg-value/internal/apps/value/sub_flow_random_push_review.go:194
cbg-trade/internal/apps/value.(*HttpServer).GetSubFlowRandomPushReviewName(0x2da?, 0xc00beaed60?)
/root/sources/cbg-value/internal/apps/value/sub_flow_random_push_review.go:322 +0xd2
cbg-trade/internal/apps/value.(*HttpServer).GetSubFlowRandomPushReview(0xc000838a00, 0xc00957ca00)
/root/sources/cbg-value/internal/apps/value/sub_flow_random_push_review.go:162 +0xeeb
github.com/gin-gonic/gin.(*Context).Next(0xc00957ca00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-trade/internal/apps/value.(*HttpServer).registerRoutes.(*HttpServer).tokenAuthMiddleware.func2(0xc00957ca00)
/root/sources/cbg-value/internal/apps/value/http_server.go:252 +0x20b
github.com/gin-gonic/gin.(*Context).Next(0xc00957ca00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-trade/internal/apps/value.NewHttpServer.Cors.func2(0xc00957ca00)
/root/sources/cbg-value/internal/utils/cors.go:21 +0xd8
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc00957ca00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000896340, 0xc00957ca00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000896340, {0x14805a0, 0xc0054bad20}, 0xc008e41b80)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1aa
net/http.serverHandler.ServeHTTP({0xc00de121b0?}, {0x14805a0?, 0xc0054bad20?}, 0x6?)
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 +0x8e
net/http.(*conn).serve(0xc006044360, {0x14822f8, 0xc000885dd0})
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 +0x625
created by net/http.(*Server).Serve in goroutine 1
/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3454 +0x485