catch more errors in debug log

This commit is contained in:
j 2016-01-24 14:41:40 +05:30
commit 6b70fa36c7
2 changed files with 7 additions and 3 deletions

View file

@ -262,7 +262,11 @@ class Node(Thread):
return False
if not changes:
return False
r = Changelog.apply_changes(u, changes, first=from_revision == 0)
try:
r = Changelog.apply_changes(u, changes, first=from_revision == 0)
except:
logger.debug('apply_changes failed', exc_info=True)
r = False
return r
def peering(self, action):