]> source.dussan.org Git - rspamd.git/commitdiff
Small improvement of logging
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Jan 2016 09:56:48 +0000 (09:56 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Jan 2016 09:56:48 +0000 (09:56 +0000)
src/plugins/lua/spamassassin.lua

index 89ff0853e50ad467b5fd3a32b75b3118eb67970b..d7e28696d1d0e26a9ebb9877f0902209acf670e2 100644 (file)
@@ -419,7 +419,7 @@ local function maybe_parse_sa_function(line)
         end
 
         if not func then
-          rspamd_logger.errx(rspamd_config, 'cannot find appropriate eval rule for function %1',
+          rspamd_logger.errx(task, 'cannot find appropriate eval rule for function %1',
             arg)
         else
           return func(task)