Description of the problem, including code/CLI snippet
ProjectFileManager.get() raises GitlabHttpError instead of GitlabGetError when trying to retrieve a file which does not exist.
Expected Behavior
When calling ProjectFileManager.get(), it raises GitlabGetError if the given file does not exist.
Actual Behavior
When calling ProjectFileManager.get(), it raises GitlabHttpError if the given file does not exist.
Specifications
- python-gitlab version: 4.12
- API version you are using (v3/v4): v4
- Gitlab server version (or gitlab.com):
Description of the problem, including code/CLI snippet
ProjectFileManager.get()raisesGitlabHttpErrorinstead ofGitlabGetErrorwhen trying to retrieve a file which does not exist.Expected Behavior
When calling
ProjectFileManager.get(), it raisesGitlabGetErrorif the given file does not exist.Actual Behavior
When calling
ProjectFileManager.get(), it raisesGitlabHttpErrorif the given file does not exist.Specifications