Skip to content
← All releases

Read the source around an error in its stack trace

Open an issue in Errors to see the code around the line that failed. Mapped browser, server and Edge runtime frames now show the original source line and up to two lines on either side, alongside the file and position. You can inspect the surrounding condition or function without first finding the same revision in your repository.

An error issue with a mapped stack frame and the original source around the failing line.

Build and deploy again to make source excerpts available for the new deployment. An older deployment, or a source file that could not be included, still shows its mapped file and position without an excerpt.

Source copies stay private with the deployment and are read when a team member opens an issue. The deployment's secret values are masked before the code is displayed. See Read an issue.