zaquestion / lab

Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
https://zaquestion.github.io/lab
Creative Commons Zero v1.0 Universal
1.1k stars 103 forks source link

lab: Provide a better "Project Not Found" error message #799

Closed prarit closed 2 years ago

prarit commented 2 years ago

Currently lab outputs this error when an unknown project is found:

"GitLab project not found, verify you have access to the requested resource".

While this error does match the webUI, it doesn't provide enough information to debug the error. The webUI in this case still provides the name of the unknown project where lab only outputs the generic warning.

Update the "Project Not Found" error with the unknown project name.

Signed-off-by: Prarit Bhargava prarit@redhat.com