From 569290a090a934b221bd35f77aefd509500ad330 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 6 Nov 2022 20:18:32 +0000 Subject: [PATCH] [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 -- 2.39.5