Skip to content

Commit

Permalink
Merge pull request #2394 from chaoss/facade-clone-error-handle-fix
Browse files Browse the repository at this point in the history
make sure status of repo is updated when the cloning fails
  • Loading branch information
sgoggins authored May 3, 2023
2 parents eef83f5 + ee80cff commit b38f181
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions augur/tasks/git/facade_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ def clone_repos():
except GitCloneError:
# continue to next repo, since we can't calculate
# commit_count or weight without the repo cloned

setattr(repoStatus,"facade_status", CollectionState.FAILED_CLONE.value)
session.commit()
continue

# get the commit count
Expand Down

0 comments on commit b38f181

Please sign in to comment.