Skip to content
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: improve error handling for vue-i18n v9 invalid message syntax #1522

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

kazupon
Copy link
Collaborator

@kazupon kazupon commented Sep 20, 2022

resolve #1519

Invalid message syntax in vue-i18n v9 (e.g. @ unescaped with literal intrepolation), error handling was not handled properly in @intlify/unplugin-vue-i18n (@intlify/bundle-utils), resulting in a 500 error in nuxt, we can understand it difficult to know where message was.

That issue has been already fixed in the following PR so that we will upgrade @intlify/unplugin-vue-i18n.

related issue: intlify/bundle-tools#164
related PR: intlify/bundle-tools#173

@netlify
Copy link

netlify bot commented Sep 20, 2022

Deploy Preview for nuxt-i18n-v8 failed.

Name Link
🔨 Latest commit 313fb5e
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-i18n-v8/deploys/6329dc36117bb1000881d0d7

@kazupon
Copy link
Collaborator Author

kazupon commented Sep 20, 2022

image

@kazupon kazupon added the v8 label Sep 20, 2022
@kazupon
Copy link
Collaborator Author

kazupon commented Sep 20, 2022

The v8 docs build is failing, but CI is passing. So I will merge them (Later I will solve it).

@kazupon kazupon merged commit 88b6dfd into next Sep 20, 2022
@kazupon kazupon deleted the fix/upgrade-unplugin branch September 20, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant