aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_selectors')
-rw-r--r--lualib/lua_selectors/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua
index 7c8d526d2..da0ca104f 100644
--- a/lualib/lua_selectors/init.lua
+++ b/lualib/lua_selectors/init.lua
@@ -280,7 +280,7 @@ exports.parse_selector = function(cfg, str)
local res,err = selt:transform(args[i])
if err then
- logger.errx(rspamd_config, 'invalid arguments for %s: %s', name, err)
+ logger.errx(rspamd_config, 'invalid arguments for %s: argument number: %s, error: %s', name, i, err)
return false
else
args[i] = res