diff options
author | Andreas Nilsson <andreas.nilsson@10gen.com> | 2014-03-10 14:09:29 -0400 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@10gen.com> | 2014-03-11 12:06:28 -0400 |
commit | 1ae45d8a71fa3948cd167e5c555e89627e8486c9 (patch) | |
tree | cfb03f98e26532cb29422757faf811d5cfab3c0a /src/mongo/shell/bulk_api.js | |
parent | f2b8b2dd800e89ce2fa0eb14e893c650734d6f24 (diff) | |
download | mongo-1ae45d8a71fa3948cd167e5c555e89627e8486c9.tar.gz |
SERVER-13063 Improved bulk API error message
Diffstat (limited to 'src/mongo/shell/bulk_api.js')
-rw-r--r-- | src/mongo/shell/bulk_api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/bulk_api.js b/src/mongo/shell/bulk_api.js index 2f381142b5b..70b34b6341d 100644 --- a/src/mongo/shell/bulk_api.js +++ b/src/mongo/shell/bulk_api.js @@ -903,7 +903,7 @@ var _bulk_api_module = (function() { // // Execute the batch this.execute = function(_writeConcern) { - if(executed) throw Error("operations cannot be re-executed"); + if(executed) throw Error("A bulk operation cannot be re-executed"); // If writeConcern set, use it, else get from collection (which will inherit from db/mongo) writeConcern = _writeConcern ? _writeConcern : coll.getWriteConcern(); |