summaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-18 19:28:51 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-18 19:28:51 +0000
commit623d10c48edb37988d71ece45dc34d5a869ca397 (patch)
treeb671402dcb696f3c06a1cbdce7295c7e61c10bff /lualib/lua_selectors
parent69bfba73da4790bf01cd40bbec5796e8bca331ea (diff)
downloadrspamd-623d10c48edb37988d71ece45dc34d5a869ca397.tar.gz
rspamd-623d10c48edb37988d71ece45dc34d5a869ca397.zip
[Minor] Improve logging
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