提交 28bde845 编写于 作者: W wuzewu

Log errors when checkout branches fail

上级 f2054c8d
......@@ -61,7 +61,11 @@ class GitSource(object):
# reload modules
self.load_hub_modules()
except:
log.logger.warning('An error occurred while checkout {}'.format(self.path))
msg = traceback.format_exc()
file = utils.record(msg)
log.logger.warning(
'An error occurred while checkout {}. Detailed error information can be found in the {}.'.format(
self.path, file))
def update(self):
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册