aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_maps.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-11-06 20:18:32 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-11-19 12:44:14 +0000
commit569290a090a934b221bd35f77aefd509500ad330 (patch)
tree24058ee0365160a341a9e42ffa00dc7a5d3d7816 /lualib/lua_maps.lua
parent941a4ea9e63d6cad30f62783db1b48db336aa916 (diff)
downloadrspamd-569290a090a934b221bd35f77aefd509500ad330.tar.gz
rspamd-569290a090a934b221bd35f77aefd509500ad330.zip
[Minor] Logging neat
Diffstat (limited to 'lualib/lua_maps.lua')
-rw-r--r--lualib/lua_maps.lua2
1 files changed, 1 insertions, 1 deletions
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