]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Logging neat
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 6 Nov 2022 20:18:32 +0000 (20:18 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 19 Nov 2022 12:44:14 +0000 (12:44 +0000)
lualib/lua_maps.lua

index ff6e19ecce4156b1ab9a07ca8430fda91fbb21d6..5d55484b22159288697925a897d914520f45cbe3 100644 (file)
@@ -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