Skip to content

Conversation

@j0g3sc
Copy link
Collaborator

@j0g3sc j0g3sc commented Nov 3, 2025

No description provided.

@j0g3sc j0g3sc changed the title chore: use new API endpoint for login and improve error message in ca… chore: use new API endpoint for login and improve error message in case of login error Nov 3, 2025
@j0g3sc j0g3sc requested a review from nroi November 3, 2025 11:14
return err
} else if res.StatusCode != 200 {
return errors.New(ERROR_AUTHENTICATION_FAILURE)
return errors.New(fmt.Sprintf("Status %d: %s", res.StatusCode, ERROR_AUTHENTICATION_FAILURE))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d: we're still using ERROR_AUTHENTICATION_FAILURE for all status codes other than 200?

@j0g3sc j0g3sc merged commit 6a5835a into main Nov 4, 2025
16 checks passed
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.

3 participants