We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0008a9 commit b7bce69Copy full SHA for b7bce69
packages/next/src/server/patch-error-inspect.ts
@@ -327,8 +327,7 @@ function parseAndSourceMap(
327
error: Error,
328
inspectOptions: util.InspectOptions
329
): string {
330
- // TODO(veil): Expose as CLI arg or config option. Useful for local debugging.
331
- const showIgnoreListed = false
+ const showIgnoreListed = process.env.__NEXT_SHOW_IGNORE_LISTED === 'true'
332
// We overwrote Error.prepareStackTrace earlier so error.stack is not sourcemapped.
333
let unparsedStack = String(error.stack)
334
// We could just read it from `error.stack`.
0 commit comments