Skip to content

Commit

Permalink
refactor: 💡 Authentication initialization error revision (#68)
Browse files Browse the repository at this point in the history
## Why?

Authentication initialization error revision.

## How?

- Created new error messages for auth failures
- Exit none-zero on authentication init failure

## Tickets?

-
[PLAT-1743](https://linear.app/fleekxyz/issue/PLAT-1743/authentication-initialization-error-should-throw-none-zero)

## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [ ] Assets or static content are linked and stored in the project
- [ ] You have manually tested
- [ ] You have provided tests

## Security checklist?

- [ ] Sensitive data has been identified and is being protected properly
- [ ] Injection has been prevented (parameterized queries, no eval or
system calls)

## Preview?

Optionally, provide the preview url here
  • Loading branch information
heldrida authored Nov 6, 2024
1 parent d03353b commit 0075be1
Show file tree
Hide file tree
Showing 4 changed files with 4,938 additions and 3,909 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-spoons-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fleek-platform/cli": patch
---

Enhance authentication failure on comman execution and initialization
4 changes: 3 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,7 @@
"uploadAssetsFailed": "Failed to upload function assets to Fleek. Check your network connection and try again.",
"assetsNotSupportedInSgx": "Function assets are not supported in SGX environment",
"functionsSite": "The Site ID where the Function will be deployed",
"siteNotFound": "Site not found!"
"siteNotFound": "Site not found!",
"failedAuthentication": "This command failed to authenticate. Have you run 'fleek login' to sign in? If the issue persists contact our support team at https://fleek.xyz/support",
"missingPersonalAccessToken": "Missing a valid personal access token. Visit https://fleek.xyz/docs for detailed instructions and try again, please!"
}
Loading

0 comments on commit 0075be1

Please sign in to comment.