Use the sentry integration with a Gatsby function

Hi, is there an example on how to use the Sentry integration with Gastby functions?

Looking here: Sentry Integration | Netlify Docs looks like that’s only meant to be used with Netlify functions.

Seems like there is some transformation that needs to be done from Netlify’s {event, context} to Gatsby’s {req, res} and an example would help.

Yeah, the integration only works with native Nelify Functions. We don’t have a guide to make it work with Gatsby Functions.