Integrate sentry with parse server

I’m trying to integrate sentry with my parse server which runs express server behind the scene. I’m not being able to send my parse server cloud function errors to sentry. Note that, we don’t need to write any error middlewares manually. Parse does it for us.

app.use('/parse', api)
app.use(Sentry.Handlers.errorHandler())