I am trying to integrate sentry with Raven in Nodejs express. I am using promises in all of my routes and some routes are there without promises too. I setup sentry/raven as per your documentation in app.js file in nodejs.
var Raven = require(‘raven’);
var app = exports.app = express();
When I throw any error from the route, sentry not catching that error. But if I use Raven.captureException(e); in the code (manually) then it catches and sends the error. I want Sentry to send the errors wherever occurred in the application globally. Am I missing something in the implementation?