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(login): comprehensive error handling #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dinxsh
Copy link
Contributor

@dinxsh dinxsh commented Oct 9, 2024

What Type of Change is this?

  • New Feature
  • Fix
  • Improvement
  • Other

Description (required)

added error handling in the following sections in login.go

  1. Token validation
  2. Region
  3. User info

Related issues & labels (optional)

@dinxsh
Copy link
Contributor Author

dinxsh commented Oct 12, 2024

used i18n pkg this time

  • added errors to i18n.go
  • error messages in en.go

similar to the way its implemented in the rest of the code 😸

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

Successfully merging this pull request may close these issues.

Fix Err Handlingzcli login
1 participant