Fixed usage of timeout

This commit is contained in:
Eric Fontana
2015-04-09 13:04:22 -04:00
parent 8b431f92eb
commit 349b0bf031

View File

@@ -151,11 +151,12 @@ namespace TimberWinR.Outputs
try
{
RedisClient client = new RedisClient(_redisHosts[_redisHostIndex], _port);
client.SendTimeout = _timeout;
return client;
}
catch (Exception)
catch (Exception ex)
{
LogManager.GetCurrentClassLogger().Error(ex);
}
finally
{