Skip to content

Commit

Permalink
Revert "emit error on the instance after save error"
Browse files Browse the repository at this point in the history
This reverts commit 08c7b78.
  • Loading branch information
aheckmann committed Sep 14, 2011
1 parent 472c408 commit 88d1b2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/model.js
Expand Up @@ -247,7 +247,6 @@ function handleSave (promise, self, insert) {
self.isNew = true;
self.emit('isNew', true); // embedded docs
}
self.emit('error', err);
return promise.error(err);
}

Expand Down

0 comments on commit 88d1b2e

Please sign in to comment.