aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/ratelimit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/ratelimit.lua')
-rw-r--r--src/plugins/lua/ratelimit.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua
index 1a7bdf222..a05ebc2e9 100644
--- a/src/plugins/lua/ratelimit.lua
+++ b/src/plugins/lua/ratelimit.lua
@@ -304,7 +304,7 @@ local function check_limits(task, args)
fun.totable(fun.map(function(l) return l[2] end, args)) -- arguments
)
if not ret then
- rspamd_logger.err(task, 'got error connecting to redis')
+ rspamd_logger.errx(task, 'got error connecting to redis')
end
end
@@ -370,7 +370,7 @@ local function set_limits(task, args)
conn:add_cmd('setex', v)
end, fun.drop_n(1, values))
else
- rspamd_logger.err(task, 'got error while connecting to redis')
+ rspamd_logger.errx(task, 'got error while connecting to redis')
end
end
end
@@ -385,7 +385,7 @@ local function set_limits(task, args)
fun.totable(fun.map(function(l) return l[2] end, args)) -- arguments
)
if not ret then
- rspamd_logger.err(task, 'got error connecting to redis')
+ rspamd_logger.errx(task, 'got error connecting to redis')
end
end