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 60a2424 commit 932cf04Copy full SHA for 932cf04
packages/react-server/src/ReactFizzServer.js
@@ -842,7 +842,7 @@ function encodeErrorForBoundary(
842
? 'Switched to client rendering because the server rendering aborted due to:\n\n'
843
: 'Switched to client rendering because the server rendering errored:\n\n';
844
boundary.errorMessage = prefix + message;
845
- boundary.errorStack = stack;
+ boundary.errorStack = prefix + stack;
846
boundary.errorComponentStack = thrownInfo.componentStack;
847
}
848
0 commit comments