Commit 9ae1610d authored by Luke Sandberg's avatar Luke Sandberg

remove the deobfuscation in `logErrorWithOriginalStack`

parent fc8f1976
...@@ -88,7 +88,6 @@ import { ...@@ -88,7 +88,6 @@ import {
import { isParallelRouteSegment } from '../../../shared/lib/segment' import { isParallelRouteSegment } from '../../../shared/lib/segment'
import { ensureLeadingSlash } from '../../../shared/lib/page-path/ensure-leading-slash' import { ensureLeadingSlash } from '../../../shared/lib/page-path/ensure-leading-slash'
import { Lockfile } from '../../../build/lockfile' import { Lockfile } from '../../../build/lockfile'
import { deobfuscateText } from '../../../shared/lib/magic-identifier'
export type SetupOpts = { export type SetupOpts = {
renderServer: LazyRenderServerInstance renderServer: LazyRenderServerInstance
...@@ -1225,9 +1224,6 @@ async function startWatcher( ...@@ -1225,9 +1224,6 @@ async function startWatcher(
err: unknown, err: unknown,
type?: 'unhandledRejection' | 'uncaughtException' | 'warning' | 'app-dir' type?: 'unhandledRejection' | 'uncaughtException' | 'warning' | 'app-dir'
) { ) {
if (err instanceof Error) {
err.message = deobfuscateText(err.message)
}
if (err instanceof ModuleBuildError) { if (err instanceof ModuleBuildError) {
// Errors that may come from issues from the user's code // Errors that may come from issues from the user's code
Log.error(err.message) Log.error(err.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment