diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-03-27 16:55:33 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-03-27 16:55:33 -0400 |
commit | 81ac2be48a972514498403e842c3c56a30580892 (patch) | |
tree | f194cd1b979487279ef37026cf4dd0635ef99b8d | |
parent | 7af502f1c6349042c151aacf2482b4e44f1026e4 (diff) | |
download | mongo-81ac2be48a972514498403e842c3c56a30580892.tar.gz |
easier to debug
-rw-r--r-- | jstests/_runner_sharding.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jstests/_runner_sharding.js b/jstests/_runner_sharding.js index 09ad88bb738..11c7ee50ce3 100644 --- a/jstests/_runner_sharding.js +++ b/jstests/_runner_sharding.js @@ -16,7 +16,13 @@ files.forEach( print(" *******************************************"); print(" Test : " + x.name + " ..."); - print(" " + Date.timeFunc( function() { load(x.name); }, 1) + "ms"); + try { + print(" " + Date.timeFunc( function() { load(x.name); }, 1) + "ms"); + } + catch ( e ){ + print( " ERROR on " + x.name + "!! " + e ); + throw e; + } } ); |