8000 fix: add more actionable info for missing primaryRegion by serhalp · Pull Request #195 · netlify/blobs · GitHub
[go: up one dir, main page]

Skip to content

fix: add more actionable info for missing primaryRegion #195

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

Merged
merged 2 commits into from
Oct 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: improve error message copy
Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
  • Loading branch information
serhalp and eduardoboucas authored Oct 11, 2024
commit 453c2543f1bffa07e024459308f619e52d633263
2 changes: 1 addition & 1 deletion src/store_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const getDeployStore = (input: GetDeployStoreOptions | string = {}): Stor
// eslint-disable-next-line max-depth
if (!context.primaryRegion) {
throw new Error(
'When accessing a deploy store, the Netlify Blobs client needs to be configured with a region, and one was not found in the environment. To manually set the region, set the `region` property in the `getDeployStore` options. If you are seeing this via the Netlify CLI, you may have an oudated version; run `npm install -g netlify-cli@latest` to update and try again.',
'When accessing a deploy store, the Netlify Blobs client needs to be configured with a region, and one was not found in the environment. To manually set the region, set the `region` property in the `getDeployStore` options. If you are using the Netlify CLI, you may have an outdated version; run `npm install -g netlify-cli@latest` to update and try again.',
)
}

Expand Down
Loading
0