summaryrefslogtreecommitdiff
path: root/jstests/slow1/sharding_multiple_collections.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/slow1/sharding_multiple_collections.js')
-rw-r--r--jstests/slow1/sharding_multiple_collections.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slow1/sharding_multiple_collections.js b/jstests/slow1/sharding_multiple_collections.js
index 7c2cb1720cf..6577e0050fa 100644
--- a/jstests/slow1/sharding_multiple_collections.js
+++ b/jstests/slow1/sharding_multiple_collections.js
@@ -27,7 +27,7 @@ function mytest( coll , i , loopNumber ){
x = coll.find( { _id : i } ).explain();
if ( x )
return;
- throw "can't find " + i + " in " + coll.getName() + " on loopNumber: " + loopNumber + " explain: " + tojson( x );
+ throw Error( "can't find " + i + " in " + coll.getName() + " on loopNumber: " + loopNumber + " explain: " + tojson( x ) );
}
loopNumber = 0