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

http_error_or_content() should print explicit error messages when the gitlab API raises an error #93

Open
6 tasks
ymansiaux opened this issue Jan 30, 2023 · 0 comments

Comments

@ymansiaux
Copy link
Contributor

ymansiaux commented Jan 30, 2023

Validation

  • When the user provides an incorrect token an appropriate error message is shown

image

  • When the user tries to access a repository which doesnt exist an appropriate error message is shown

image

  • When the user tries to access a repository which is private an appropriate error message is shown

image

Dev - Tech

Errors to deal with :

  • "404 Project Not Found" : the repository does not exist or is private

  • "401 Unauthorized": the token is missing or incorrect

  • "403 Forbidden" : shown (notably) when the user does not have the right "Role" (we need to ensure that this type of error can not be seen elsewhere

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