aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/metadata_exporter.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-16 13:24:44 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-16 13:24:44 +0200
commit56cc6c85ad3812bbc2651ca2095d6b4b6c420ccb (patch)
treee0ab46e7869f0a7a320af27343e5db61196598ba /src/plugins/lua/metadata_exporter.lua
parent03e3d7063308dd169d5b1692ccd28403c16ddd76 (diff)
downloadrspamd-56cc6c85ad3812bbc2651ca2095d6b4b6c420ccb.tar.gz
rspamd-56cc6c85ad3812bbc2651ca2095d6b4b6c420ccb.zip
[Minor] Fix upstreams handling
Diffstat (limited to 'src/plugins/lua/metadata_exporter.lua')
-rw-r--r--src/plugins/lua/metadata_exporter.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua
index 70c10e6b7..d2c0fa620 100644
--- a/src/plugins/lua/metadata_exporter.lua
+++ b/src/plugins/lua/metadata_exporter.lua
@@ -93,8 +93,7 @@ local function metadata_exporter(task)
{channel, data} -- arguments
)
if not ret then
- rspamd_logger.errx(task, 'Redis PUBLISH failed')
- upstream:fail()
+ rspamd_logger.err(task, 'error connecting to redis')
end
end
if url then