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

Add retrys to fetching translation strings #195

Open
jhnstn opened this issue Oct 25, 2023 · 0 comments
Open

Add retrys to fetching translation strings #195

jhnstn opened this issue Oct 25, 2023 · 0 comments

Comments

@jhnstn
Copy link
Member

jhnstn commented Oct 25, 2023

I've noticed this error when trying to prepare GBM:

Could not find translation file https://translate.wordpress.org/projects/wp-plugins/jetpack/dev/es-cr/default/export-translations/?format=json for project slug wp-plugins/jetpack
/private/var/folders/m3/zr93ff4x0fx8kvpbh_b4sqb40000gn/T/gbm-2745483336/gutenberg/packages/react-native-editor/bin/i18n-translations-download.js:139
			( result ) => result.response```

It seems intermitent so I'm thinking we should retry the `npm run i18n:update` command a few times before failing the entire run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant