Skip to content

Commit

Permalink
Adjust logging when fetching repo refs (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquizz authored Sep 2, 2021
1 parent 815ff6d commit 19fe7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bonfire/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ def _get_ref(self, get_ref_func):

response = get_ref_func(ref)
if response.status_code == 200:
log.debug("fetch succeeded for ref '%s'", ref)
log.info("fetch succeeded for ref '%s'", ref)
break
elif response.status_code == 403 and "api rate limit exceeded" in response.text.lower():
raise Exception(_RATE_LIMIT_ERR_MSG)
else:
log.warning(
log.info(
"failed to fetch git ref '%s' (http code: %d, response txt: %s)",
ref,
response.status_code,
Expand Down

0 comments on commit 19fe7f7

Please sign in to comment.