File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/next/src/server/lib Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -122,15 +122,7 @@ export function filterStackFrameDEV(
122122 // built-in Components in parent stacks don't have source location.
123123 // Filter out frames that show up in Promises to get good names in React's
124124 // Server Request track until we come up with a better heuristic.
125- return (
126- functionName !== 'new Promise' &&
127- functionName !== 'Promise.then' &&
128- functionName !== 'Promise.catch' &&
129- functionName !== 'Promise.finally' &&
130- functionName !== 'Function.withResolvers' &&
131- functionName !== 'Function.all' &&
132- functionName !== 'Function.allSettled'
133- )
125+ return functionName !== 'new Promise'
134126 }
135127 if ( sourceURL . startsWith ( 'node:' ) || sourceURL . includes ( 'node_modules' ) ) {
136128 return false
You can’t perform that action at this time.
0 commit comments