]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Include the pipeline condition description on the pipeline returned false... 5586/head
authorJose Celestino <japc@co.sapo.pt>
Fri, 22 Aug 2025 13:01:48 +0000 (14:01 +0100)
committerJose Celestino <japc@co.sapo.pt>
Fri, 22 Aug 2025 13:01:48 +0000 (14:01 +0100)
src/plugins/lua/rbl.lua

index 56a4a5500432b0e8913928b9dcbe8231858a8638..29cba269d31f84797c91ecbbe0afbc2123a92b05 100644 (file)
@@ -936,8 +936,8 @@ local function gen_rbl_callback(rule)
     for i, f in ipairs(pipeline) do
       if not f(task, dns_req, whitelist) then
         lua_util.debugm(N, task,
-            "skip rbl check: %s; pipeline condition %s returned false",
-            rule.symbol, i)
+            "skip rbl check: %s; pipeline condition %s (%s) returned false",
+            rule.symbol, i, description[i])
         return
       end
     end