handle errors in fix_one()
Change-Id: I1b999f3f20c69ae4a004e3e70b9cb63187f5b702 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
305b39fbc7
commit
b43191241e
|
@ -249,7 +249,11 @@ class ToxFixMissingPy3(command.Command):
|
|||
shutil.rmtree(os.path.join(team_dir, r))
|
||||
continue
|
||||
|
||||
fix_one(team_dir, r, bad_envs)
|
||||
try:
|
||||
fix_one(team_dir, r, bad_envs)
|
||||
except Exception:
|
||||
LOG.exception('failed to update {}'.format(r))
|
||||
continue
|
||||
|
||||
LOG.info('adding %s to %s', r, tracking_file)
|
||||
with open(tracking_file, 'a', encoding='utf-8') as f:
|
||||
|
|
Loading…
Reference in New Issue