Skip to content

Commit fbbb537

Browse files
DOC-4345 added try...catch around dropIndex call
1 parent a91681e commit fbbb537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Doc/HomeJsonExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void run()
2929
//REMOVE_START
3030
// Clear any keys here before using them in tests.
3131
db.KeyDelete(new RedisKey[] { "user:1", "user:2", "user:3" });
32-
db.FT().DropIndex("idx:users");
32+
try { db.FT().DropIndex("idx:users"); } catch { }
3333
//REMOVE_END
3434
// HIDE_END
3535

0 commit comments

Comments
 (0)