Skip to content

Commit

Permalink
rrrrr
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Jul 2, 2023
1 parent c832fc7 commit 3e70986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions megalinter/reporters/GithubCommentReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ def produce_report(self):
g = github.Github(base_url=github_api_url, login_or_token=github_auth)
try:
repo = g.get_repo(github_repo)
except github.GithubException as e:
except github.RateLimitExceededException as e:
logging.warning(f"Unable to connect to GitHub repository: {e}")
return
raise e
except Exception as e:
logging.warning(f"Unable to connect to GitHub repository: {e}")
return
raise e
# Try to get PR from GITHUB_REF
pr_list = []
ref = os.environ.get("GITHUB_REF", "")
Expand Down

0 comments on commit 3e70986

Please sign in to comment.