aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_redis.lua
diff options
context:
space:
mode:
authorlaodc <github@laodc.com>2023-08-21 16:29:28 +0700
committerlaodc <github@laodc.com>2023-08-21 16:29:28 +0700
commitee05b36e774253e307b171ffdeb261c1f907ad75 (patch)
tree92de6ae41fabd49cb1da632f1196d4ba5cce195f /lualib/lua_redis.lua
parent75fdc829bacbdc767b20d3f0e40b91215fce14fe (diff)
downloadrspamd-ee05b36e774253e307b171ffdeb261c1f907ad75.tar.gz
rspamd-ee05b36e774253e307b171ffdeb261c1f907ad75.zip
changed errors to warnings.
nullptr on contructor was never meant to be there
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r--lualib/lua_redis.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua
index 377541f87..8ae40da5b 100644
--- a/lualib/lua_redis.lua
+++ b/lualib/lua_redis.lua
@@ -1521,7 +1521,7 @@ local function redis_connect_sync(redis_params, is_write, key, cfg, ev_base)
conn:add_cmd('AUTH', { redis_params['username'], redis_params['password'] })
need_exec = true
else
- logger.errx('Redis requires a password when username is supplied')
+ logger.warnx('Redis requires a password when username is supplied')
return false, nil, addr
end
elseif redis_params['password'] then