Using sentry with meteor

I am trying to use sentry.io with Meteor. However Meteor seems to swallow all the errors so even if an exception is thrown manually it won’t get picked up by this code.

process.on('uncaughtException', (err) => {
  console.log('exception')
  console.log(err)
});

Is there any way I can add a global error handler to Meteor instead of it’s own internal one so I can link it up to custom error handling code?

Just to be 100% sure, you’re using raven-node, correct?

This seems like an issue that needs to be raised with Meteor. Your example alone (without raven-node) is pretty clear that this behavior is … not good.

Yep, using raven-node.

I figured it was something to do with meteor, was hoping someone else had
had the same issue with sentry and found a workaround.

Did you find a way to solve this? I can send exceptions via captureException on the server but I cannot find a way to do a catch all or wrap the meteor process in a raven context.