Skip to content

Commit

Permalink
Include sourceframe in errors logged in the terminal during developme…
Browse files Browse the repository at this point in the history
…nt (#71803)
  • Loading branch information
eps1lon authored Oct 24, 2024
1 parent ffde232 commit 9bfba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/server/patch-error-inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function parseAndSourceMap(error: Error): string {
if (
process.env.NODE_ENV !== 'production' &&
sourcemappedFrame.code !== null &&
sourceFrameDEV !== null
sourceFrameDEV === null
) {
sourceFrameDEV = sourcemappedFrame.code
}
Expand Down

0 comments on commit 9bfba27

Please sign in to comment.