Use sentry on exported module functions ? [ nodeJS ]

how to use sentry if I have to export a module with some function?

I would like to have the exception sent if inside the ‘test’ function throw any exception

function test() {
// some logic that might throw error

module.exports = {

#edit: from the Doc, Raven.captureException() can be used in try…catch block, but let say if I have to export many function on the module, is there any other easier method instead of wrap every function with try…catch block ?