commit 17cb2c0: [Minor] Asn: Improve log message

Vsevolod Stakhov vsevolod at rspamd.com
Thu Aug 4 22:28:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-08-04 23:23:58 +0100
URL: https://github.com/rspamd/rspamd/commit/17cb2c06fd5d7dea31c1f1215ee3d5ba3cabe5f3 (HEAD -> master)

[Minor] Asn: Improve log message
Issue: #4235

---
 src/plugins/lua/asn.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/asn.lua b/src/plugins/lua/asn.lua
index e264ee7a3..aa281d781 100644
--- a/src/plugins/lua/asn.lua
+++ b/src/plugins/lua/asn.lua
@@ -75,7 +75,7 @@ local function asn_check(task)
         return
       end
       if not results or not results[1] then
-        rspamd_logger.infox(task, 'cannot query ip %s on %s: no results',
+        rspamd_logger.infox(task, 'no ASN information is available for the IP address "%s" on %s',
             req_name, serv)
         return
       end


More information about the Commits mailing list