christkv/node-mongodb-native — Issue #423: What does the driver do with my exceptions?
Author: johnny-john
Created: 2011-12-01 11:18:27+00:00
State: open

Hello there,

Please bear with me. I use the driver extensively and recently I noticed some of my exceptions does not show up the proper way. I realised when the error is in the callback function I provide for the driver ( at a simple find operations for example ), I dont get the usual long stack trace, but rather a short one:

Error: ReferenceError: f is not defined
at Array. (blablabla\mongodb\connection\server.js:168:49)
at EventEmitter._tickCallback (node.js:195:26)

Why is that? Also the async trycatch module what I am trying to use cant catch these exceptions somehow :(.