summaryrefslogtreecommitdiff
path: root/jstests/sharding/sync2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/sync2.js')
-rw-r--r--jstests/sharding/sync2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/sync2.js b/jstests/sharding/sync2.js
index cba7faafd89..4f5eee99438 100644
--- a/jstests/sharding/sync2.js
+++ b/jstests/sharding/sync2.js
@@ -96,7 +96,7 @@ for ( i=1; i<hashes.length; i++ ){
}
if ( bad )
- throw "hashes different";
+ throw Error("hashes different");
}
s.stop();