@pvdyck – I’ve actually done a lot of experimentation with Google Cloud Functions this past week.
The bad news: it appears that Google Cloud Functions doesn’t let 3rd-party libraries hook into/modify the Node global error handler (process.on('uncaughtException')
), which means raven-node (right now) can’t catch uncaught exceptions.
You can, however, send errors manually using try/catch
and Raven.capture[Message|Exception]
.