##// END OF EJS Templates
repo-mapper: make it more resilient to errors, it's better it executes and skip certain repositories, rather then crash whole mapper.
milka -
r4547:dc47f7cc default
parent child Browse files
Show More
@@ -231,6 +231,10 b' class ScmModel(BaseModel):'
231 with_wire={"cache": False})
231 with_wire={"cache": False})
232 except OSError:
232 except OSError:
233 continue
233 continue
234 except RepositoryError:
235 log.exception('Failed to create a repo')
236 continue
237
234 log.debug('found %s paths with repositories', len(repos))
238 log.debug('found %s paths with repositories', len(repos))
235 return repos
239 return repos
236
240
General Comments 0
You need to be logged in to leave comments. Login now