Closed
Description
Environment
self-hosted (onpremise
deployment)
Version
^6.12.0
Steps to Reproduce
- Create a starter Next.JS project with API routes. https://nextjs.org/docs/api-routes/introduction
- Install and configure
@sentry/nextjs
- Create async route handlers. Ie.
export default withSentry(async (req, res) => {
- Implement any route responder, ie.
res.status(200).end()
- Test the route. For example, create a button that issues an api call.
Expected Result
The route responds and no error is raised.
Actual Result
API resolved without sending a response for /api/<endpoint>, this may result in stalled requests.
Metadata
Metadata
Assignees
Labels
No labels