-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: catch import map lookup error properly in ResolvingIssue
#7167
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Ignored Deployments
|
🟢 Turbopack Benchmark CI successful 🟢Thanks |
✅ This change can build |
|
@@ -2042,7 +2042,7 @@ pub async fn handle_resolve_error( | |||
request_type: format!("{} request", reference_type.into_value()), | |||
request, | |||
resolve_options, | |||
error_message: Some(err.to_string()), | |||
error_message: Some(format!("{:?}", err)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error_message: Some(format!("{:?}", err)), | |
error_message: Some(format!("{:?}", PrettyPrintError(&err))), |
That should make it even nicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true, I guess I can refactor the output of ResolvingIssues
to use that
edit: nvm that works without the styled string stuff
df7d107
to
2d9e649
Compare
# Turbopack * vercel/turborepo#7167 <!-- Leah - fix: catch import map lookup error properly in `ResolvingIssue` --> * vercel/turborepo#7182 <!-- Donny/강동윤 - feat: Re-enable `preset-env` mode of `styled-jsx` in turbopack --> * vercel/turborepo#7161 <!-- Tobias Koppers - add support for globs in sideEffects field in package.json --> * vercel/turborepo#7184 <!-- Donny/강동윤 - chore: Update `swc_core` to `v0.89.6` --> ### What? Update turbopack ### Why? To test vercel/turborepo#7182 against internal webapps. ### How? - Closes #57718 Closes PACK-2334
…el/turborepo#7167) ### Description The wrong error / not all errors were caught before. This also adds the error trace to the error message. Closes PACK-2325
…el/turborepo#7167) ### Description The wrong error / not all errors were caught before. This also adds the error trace to the error message. Closes PACK-2325
…el/turborepo#7167) ### Description The wrong error / not all errors were caught before. This also adds the error trace to the error message. Closes PACK-2325
…el/turborepo#7167) ### Description The wrong error / not all errors were caught before. This also adds the error trace to the error message. Closes PACK-2325
Description
The wrong error / not all errors were caught before.
This also adds the error trace to the error message.
Closes PACK-2325