migrate patch

This commit is contained in:
Oleksii Bulenok
2026-08-17 13:42:45 +02:00
parent 8aebe314aa
commit cdbff46fe0
3 changed files with 1 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
# @expo/cli
## build/src/start/server/serverLogLikeMetro.js - keep the error message in web terminal logs
Dev-server-terminal-only change; no runtime/app impact.
React 19 appends owner stacks to dev warnings, so a web `console.error`
arrives at the CLI as one merged string (`"<message>\n at ..."`). The
reporter replaces the whole argument with the symbolicated stack block and
dropped the parsed message, printing a blank `Web ERROR` with only a code
frame and call stack.
The patch prepends `error.message` (when non-empty) to the returned stack
block. Native logs are unaffected (message and stack arrive as separate
arguments there).
Unreported upstream as of 2026-08-13; worth filing against expo/expo
referencing expo/expo#46584.