Skip to content

GitHub code mapping does not work in Next.js server side code #47444

Closed
getsentry/sentry-javascript
#8008
@alvarlagerlof

Description

@alvarlagerlof

Environment

SaaS (https://sentry.io/)

Version

No response

Link

https://alvar-lagerlof.sentry.io/issues/4095244054/?project=4505020218277888&referrer=issue-stream&stream_index=1

DSN

https://85e3ebd203224c8ba6c6a2832b5ab1f9@o4505020211134464.ingest.sentry.io/4505020218277888

Steps to Reproduce

  1. Deploy a Next.js project
  2. Cause a server side error
  3. Open the issue
  4. There is no way to see what line it is coming from in GitHub like you can for client side code

Expected Result

There is a "Open this line in GitHub" link.

Actual Result

Client:

image

Server:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions