New Sentry Node Package - Wrap Function


Before Sentry unified its Node libraries I was using the raven module for node. We did our normal setup and then wrapped our main function inside of Raven.context(() => ourfunction());

I am trying to do the samething in the new Node package, but the docs weren’t leading to anything like that. Anyone know the equivalent or better?