Don’t show long internal Rust stack traces to users (#67678)
This:
- Writes Turbopack internal errors to a file, `.next/fatal.log`
- [x] Automatically truncate this file to prevent it from growing
infinitely
- Shows a simplified message to users when an internal Turbopack error
occurs, directing them to file an issue with the content of the log
- Adds a panic handler on the Rust side in release builds that similarly
shows a simplified message
---------
Co-authored-by:
Benjamin Woodruff <benjamin.woodruff@vercel.com>
Showing
Please
register
or
sign in
to comment