Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/next/src/server/patch-error-inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ function parseAndSourceMap(
error: Error,
inspectOptions: util.InspectOptions
): string {
// TODO(veil): Expose as CLI arg or config option. Useful for local debugging.
const showIgnoreListed = false
const showIgnoreListed = process.env.__NEXT_SHOW_IGNORE_LISTED === 'true'
// We overwrote Error.prepareStackTrace earlier so error.stack is not sourcemapped.
let unparsedStack = String(error.stack)
// We could just read it from `error.stack`.
Expand Down
Loading