[minor] Output debug information for the redis connection.
[minor] Better error codes