openresty / lua-resty-redis

Lua redis client driver for the ngx_lua based on the cosocket API
1.91k stars 448 forks source link

Add the host:port to the error message #274

Closed git-hulk closed 6 months ago

git-hulk commented 7 months ago

Currently, only the timeout error was returned while encountering the socket timeout error. Not sure if it's good to add the host:port to the error message to quickly identify the problematic server? I will submit a PR to resolve this if it sounds good.