From 623d10c48edb37988d71ece45dc34d5a869ca397 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 18 Dec 2022 19:28:51 +0000 Subject: [Minor] Improve logging --- lualib/lua_selectors/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lualib/lua_selectors') 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 -- cgit v1.2.3