summaryrefslogtreecommitdiffstats
path: root/tabellio/pcfdb/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'tabellio/pcfdb/sync.py')
-rw-r--r--tabellio/pcfdb/sync.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index 1c4d488..bce222c 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -334,7 +334,11 @@ class SyncFromPcfDbView(BrowserView):
if not object in objects:
continue
t0 = time.time()
- result = getattr(self, 'sync_'+object)(timestamp)
+ try:
+ result = getattr(self, 'sync_'+object)(timestamp)
+ except:
+ log.error('error during synchro of %s' % object)
+ raise
duration = time.time() - t0
report.append('%-14s: %6s [%s]' % (object, result, format_duration(duration)))
log.info('sync: %-14s: %6s [%s]' % (object, result, format_duration(duration)))