Dont bail on error
This commit is contained in:
parent
27fd6926dc
commit
0bc1b9376b
@ -19,7 +19,10 @@ def mirror_host(d, host, token):
|
||||
logger.info("Cloning new repo: %s", repo)
|
||||
os.makedirs(p, exist_ok=True)
|
||||
cmd = ['git', 'clone', '--mirror', url, p]
|
||||
try:
|
||||
subprocess.run(cmd, check=True)
|
||||
except subprocess.CalledProcessError:
|
||||
logger.exception("Failed to process %s", repo)
|
||||
|
||||
|
||||
def get_repos(host, token, pagesize=50):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user