diff --git a/index.js b/index.js index c2d86f0..b370c8f 100644 --- a/index.js +++ b/index.js @@ -195,6 +195,7 @@ Collection.prototype.insert = function() { var fn = getCallback(arguments); var callback = function(err, docs) { + if (err) return fn(err); if (Array.isArray(args[0])) { fn(err, docs); } else {