forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue meteor#13121 updated the error handling within the Meteor metho…
…d for inserting data into a MongoDB collection
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm not sure this test will actually pass. The name is
MongoServerError
so the first part of the test will still be false. I was thinking of a "simpler" fix which is just replacingMongoError
withMongoServerError
, without touching theif
block underneath.