fix: raise GitlabHeadError in `project.files.head()` method by JohnVillalovos · Pull Request #3006 · python-gitlab/python-gitlab
Repository navigation
fix: raise GitlabHeadError in project.files.head() method - #3006
Merged
nejch merged 1 commit into main from jlvillal/issue_3004_gitlabheadexception Oct 1, 2024
Merged
fix: raise GitlabHeadError in project.files.head() method #3006
nejch merged 1 commit into
main from
jlvillal/issue_3004_gitlabheadexception
Conversation
JohnVillalovos commented Oct 1, 2024
Copy link Copy Markdown
Member
When an error occurs, raise GitlabHeadError in
project.files.head() method.
Closes : #3004
fix: raise GitlabHeadError in project.files.head() method
6494630
When an error occurs, raise `GitlabHeadError` in `project.files.head()` method. Closes: #3004JohnVillalovos requested a review from nejch October 1, 2024 15:31
codecov
Bot
commented
Oct 1, 2024
·
edited
Loading
Copy link Copy Markdown
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@ ## main #3006 +/- ## ======================================= Coverage 96.61% 96.61% ======================================= Files 95 95 Lines 6088 6089 +1 ======================================= + Hits 5882 5883 +1 Misses 206 206
Flags with carried forward coverage won't be shown. Click here to find out more.
|
View reviewed changes
nejch left a comment
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Thanks @JohnVillalovos 🙇 didn't even think this would be an issue
nejch merged commit9bf26df
into
main
Oct 1, 2024
nejch
deleted the
jlvillal/issue_3004_gitlabheadexception
branch
October 1, 2024 17:16
hidingmyname
mentioned this pull request
Oct 30, 2026
Bodyless HEAD error responses produce an empty error_message (str(e) == "404: ")
#3461
Open
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment