From: Vsevolod Stakhov Date: Thu, 6 Mar 2025 13:59:51 +0000 (+0000) Subject: [Minor] Fix invocation X-Git-Tag: 3.11.1~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5374%2Fhead;p=thirdparty%2Frspamd.git [Minor] Fix invocation --- diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua index 3ac95a1c9f..1d5c4b21e7 100644 --- a/src/plugins/lua/gpt.lua +++ b/src/plugins/lua/gpt.lua @@ -603,7 +603,7 @@ local function check_llm_cached(task, content, sel_part) lua_cache.cache_get(task, cache_key, cache_context, settings.timeout * 1.5, function() check_llm_uncached(task, content, sel_part) - end, function(err, data) + end, function(_, err, data) if err then rspamd_logger.errx(task, 'cannot get cache: %s', err) check_llm_uncached(task, content, sel_part)