Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

[BUG] Add repo command may present an incomprehensible error #397

Closed
brunasilvazup opened this issue Aug 10, 2020 · 0 comments · Fixed by #466
Closed

[BUG] Add repo command may present an incomprehensible error #397

brunasilvazup opened this issue Aug 10, 2020 · 0 comments · Fixed by #466
Assignees
Labels
🪲 bug Report a bug encountered while operating Ritchie
Milestone

Comments

@brunasilvazup
Copy link
Contributor

What happened:
When a url that does not exist in the domain or an access with the wrong credential is displayed, the error that is presented is the reported html.

What you expected to happen:
An error indicating that the url in the domain could not be found.

How to reproduce it (as minimally and precisely as possible):
Execute rit add repo with:
? Select your provider: Gitlab
? Repository name: repo
Your repository "repo" is gonna be overwritten.
? Do you want to proceed? yes
? Repository URL: https://github.com/ZupIT/ritchie-formulas
? Is a private repository? no

And don't register a gitlab user.

repo

Anything else we need to know?:

Environment:

  • Ritchie version (use rit --version): 2.0.2
  • Operating System: Ubuntu 18.04.4 LTS
  • Network plugin / Tool and version (if this is a network-related / tool bug):
  • Others:
@brunasilvazup brunasilvazup added the 🪲 bug Report a bug encountered while operating Ritchie label Aug 10, 2020
@brunasilvazup brunasilvazup added this to the 2.0.5 milestone Aug 24, 2020
@brunasilvazup brunasilvazup self-assigned this Aug 25, 2020
@brunasilvazup brunasilvazup linked a pull request Aug 25, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 bug Report a bug encountered while operating Ritchie
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants