aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_tensor.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-18 16:06:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-18 16:07:19 +0000
commit1a1ee0c8ed479fdee0fedb11a26af0a42e30c3e2 (patch)
tree13d49051c3ec142a7360ea5a50fdc8532ea2e38c /src/lua/lua_tensor.c
parent21983194a05ca6cebfdd25c5bd750cd5c8aced17 (diff)
downloadrspamd-1a1ee0c8ed479fdee0fedb11a26af0a42e30c3e2.tar.gz
rspamd-1a1ee0c8ed479fdee0fedb11a26af0a42e30c3e2.zip
[Minor] Improve debug
Diffstat (limited to 'src/lua/lua_tensor.c')
-rw-r--r--src/lua/lua_tensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_tensor.c b/src/lua/lua_tensor.c
index 960fc31e0..9731b17c7 100644
--- a/src/lua/lua_tensor.c
+++ b/src/lua/lua_tensor.c
@@ -578,7 +578,7 @@ lua_tensor_load (lua_State *L)
}
}
else {
- return luaL_error (L, "invalid arguments");
+ return luaL_error (L, "invalid arguments; sz = %d", (int)sz);
}
return 1;