Fixed error reporting when connection to redis cannot be established