Skip to content
Snippets Groups Projects
Commit 902b6fb4 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

Update file script.py

parent 07f7ba18
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ def get_total_commits_last_month(gl):
try:
commits = project.commits.list(since=last_month_start, until=last_month_end)
total_commits_last_month += len(commits)
except gitlab.exceptions.GitlabHttpError as e:
except gitlab.exceptions.GitlabListError as e:
if e.response_code == 404:
# Repository not found for the project
print(f"Warning: Repository not found for project '{project.name}'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment