From: Vsevolod Stakhov Date: Sun, 6 Nov 2022 20:18:32 +0000 (+0000) Subject: [Minor] Logging neat X-Git-Tag: 3.5~204^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=569290a090a934b221bd35f77aefd509500ad330;p=thirdparty%2Frspamd.git [Minor] Logging neat --- diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua index ff6e19ecce..5d55484b22 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