summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/rollback3.js')
-rwxr-xr-xjstests/replsets/rollback3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rollback3.js b/jstests/replsets/rollback3.js
index 188394a1263..9b17544032c 100755
--- a/jstests/replsets/rollback3.js
+++ b/jstests/replsets/rollback3.js
@@ -47,7 +47,7 @@ function wait(f) {
}
if (n == 200) {
print("rollback3.js failing waited too long");
- throw "wait error";
+ throw Error("wait error");
}
sleep(1000);
}