From 270ed6e1981693bfbd58fe114f3cdea72c3d5f12 Mon Sep 17 00:00:00 2001 From: lcw4u <131836350+lcw4u@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:40:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8F=8F=E8=BF=B0=20(#1991)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lualib-src/lua-cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib-src/lua-cluster.c b/lualib-src/lua-cluster.c index 668bb1f1..a1f32202 100644 --- a/lualib-src/lua-cluster.c +++ b/lualib-src/lua-cluster.c @@ -114,7 +114,7 @@ packreq_string(lua_State *L, int session, void * msg, uint32_t sz, int is_push) if (name == NULL) { luaL_error(L, "name is not a string, it's a %s", lua_typename(L, lua_type(L, 1))); } else { - luaL_error(L, "name is too long %s", name); + luaL_error(L, "name length is invalid, must be between 1 and 255 characters: %s", name); } }