From f182d3e98f5baabb04d3b91c588aba8902e3c023 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Thu, 29 Feb 2024 19:19:03 +0800 Subject: [PATCH] fix: fix the error --- internal/api/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/route.go b/internal/api/route.go index 6aaab91ba..fbd221949 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -54,7 +54,7 @@ import ( ) func Start(config *config.GlobalConfig, port int, proPort int) error { - log.ZDebug(context.Background(), "configAPI", config) + log.ZDebug(context.Background(), "configAPI", config, "port", port) if port == 0 || proPort == 0 { err := "port or proPort is empty:" + strconv.Itoa(port) + "," + strconv.Itoa(proPort) return errs.Wrap(fmt.Errorf(err))