commit 569290a: [Minor] Logging neat

Vsevolod Stakhov vsevolod at rspamd.com
Sat Nov 19 20:28:08 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-11-06 20:18:32 +0000
URL: https://github.com/rspamd/rspamd/commit/569290a090a934b221bd35f77aefd509500ad330

[Minor] Logging neat

---
 lualib/lua_maps.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua
index ff6e19ecc..5d55484b2 100644
--- a/lualib/lua_maps.lua
+++ b/lualib/lua_maps.lua
@@ -110,7 +110,7 @@ local function rspamd_map_add_from_ucl(opt, mtype, description, callback)
         if t.__external then
           if not key_callback and not callback then
             local caller = debug.getinfo(2) or {}
-            rspamd_logger.errx(rspamd_config, "requested external map key without callback; caller: %s",
+            rspamd_logger.errx(rspamd_config, "requested external map key without callback; caller: %s:%s",
                 caller.short_src, caller.currentline)
             return nil
           end


More information about the Commits mailing list