From: Vsevolod Stakhov Date: Thu, 12 Dec 2024 17:59:20 +0000 (+0000) Subject: [Fix] Fix usage of the logging function X-Git-Tag: 3.11.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=887b84d1fa6235d4582d7468a662873e5edefe91;p=thirdparty%2Frspamd.git [Fix] Fix usage of the logging function --- diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index 43acfee658..7b85f44c4c 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -1462,7 +1462,8 @@ local function exec_redis_script(id, params, callback, keys, args) callback(err, data) elseif string.match(err, 'NOSCRIPT') then -- Schedule restart - logger.infox(params.task, 'redis script %s is not loaded (NOSCRIPT returned), scheduling reload', + logger.infox(params.task or rspamd_config, + 'redis script %s is not loaded (NOSCRIPT returned), scheduling reload', script_description(script)) script.sha = nil if can_reload then