I’ve just installed raven-node with the patchGlobal option:
var raven = require('raven'), client = new raven.Client('DSN_HERE'); client.patchGlobal();
, and it appears to be working when an exception occurs in the main app, but not if the error occurs in any code in the node_modules folder.
However, I am able to manually send a request with captureException().
Is there something else I should be doing?