Skip to content

Commit

Permalink
fix: ignore all exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
max-wittig authored Apr 11, 2019
1 parent 529a942 commit 2af5237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def scan_group_projects(self, group_ids):
try:
project = self.gl.projects.get(project.id, simple=True)
executor.submit(self.scan, project)
except (GitlabGetError, GitlabHttpError):
except Exception:
continue

def write_metrics(self, path=Path.cwd() / "metrics.txt"):
Expand Down Expand Up @@ -247,7 +247,7 @@ def scan_projects(self, limit=None, args=None):
for project in projects:
try:
executor.submit(self.scan, project)
except (GitlabGetError, GitlabHttpError):
except Exception:
continue


Expand Down

0 comments on commit 2af5237

Please sign in to comment.