summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/metadata_exporter.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-17 12:46:02 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-17 12:46:02 +0200
commitfd4d021a48419db5bfffbef56c75be9f84bab185 (patch)
treef08ef6c45f6d3f475c870da5c1b0a45e28df46c4 /src/plugins/lua/metadata_exporter.lua
parentd8e7133b3af3e169e894e436c24286d824b255d0 (diff)
downloadrspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.tar.gz
rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.zip
[Minor] Use new logging API everywhere
Diffstat (limited to 'src/plugins/lua/metadata_exporter.lua')
-rw-r--r--src/plugins/lua/metadata_exporter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua
index e95478b48..6c77714a9 100644
--- a/src/plugins/lua/metadata_exporter.lua
+++ b/src/plugins/lua/metadata_exporter.lua
@@ -90,7 +90,7 @@ local function metadata_exporter(task)
{channel, data} -- arguments
)
if not ret then
- rspamd_logger.err(task, 'error connecting to redis')
+ rspamd_logger.errx(task, 'error connecting to redis')
end
end
if url then