From 349b0bf031c10857efb44d36bdf9dfbbb0f7c3ef Mon Sep 17 00:00:00 2001 From: Eric Fontana Date: Thu, 9 Apr 2015 13:04:22 -0400 Subject: [PATCH] Fixed usage of timeout --- TimberWinR/Outputs/Redis.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TimberWinR/Outputs/Redis.cs b/TimberWinR/Outputs/Redis.cs index ef0e150..b08d77f 100644 --- a/TimberWinR/Outputs/Redis.cs +++ b/TimberWinR/Outputs/Redis.cs @@ -150,12 +150,13 @@ namespace TimberWinR.Outputs { try { - RedisClient client = new RedisClient(_redisHosts[_redisHostIndex], _port); - client.SendTimeout = _timeout; + RedisClient client = new RedisClient(_redisHosts[_redisHostIndex], _port); return client; } - catch (Exception) + catch (Exception ex) { + LogManager.GetCurrentClassLogger().Error(ex); + } finally {