From ee2e6bfae7ced5ba8244978da121d86ba1155288 Mon Sep 17 00:00:00 2001 From: lijun Date: Tue, 14 Jan 2025 15:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/conf.go b/proto/conf.go index e21fa8a..02abce4 100644 --- a/proto/conf.go +++ b/proto/conf.go @@ -83,7 +83,7 @@ func ReadConfig(path string) error { worker.SetRedis("vp_stream_config", string(jsonData)) SigningKey = []byte(Config.TOKEN_SECRET) if Config.TOKEN_SECRET == "" { - err = fmt.Errorf("token secret is empty," + string(jsonData)) + err = fmt.Errorf("token secret is empty: %s", string(jsonData)) } return err }