louischatriot/nedb — pull request #230 by mchcoastal (2014-12-04 20:23:06+00:00)
Title: Fix for error handling during upsert of new documents.

Errors from a malformed update query were not making it to the callback method during an upsert of a new document. The exception was escaping the _update waterfall. Wrapping model.modify() in try/catch seems to do the trick.