]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix invocation 5374/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 6 Mar 2025 13:59:51 +0000 (13:59 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 6 Mar 2025 13:59:51 +0000 (13:59 +0000)
src/plugins/lua/gpt.lua

index 3ac95a1c9f4dcdf9c15f4e89b0a8ebdef0722cfe..1d5c4b21e7c5b0b617e3b12ab834d95133c9abe8 100644 (file)
@@ -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)