Commit 92125519 authored by mgravell's avatar mgravell

more case insensitivity (redisearch)

parent 90860596
...@@ -38,7 +38,7 @@ protected static Client Reset(Client client) ...@@ -38,7 +38,7 @@ protected static Client Reset(Client client)
} }
catch (RedisServerException ex) catch (RedisServerException ex)
{ {
if (ex.Message != "Unknown Index name") throw; if (!string.Equals(ex.Message, "Unknown Index name", StringComparison.OrdinalIgnoreCase)) throw;
} }
return client; return client;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment