Warn user and stop sync if crash occurs

This commit is contained in:
croneter 2018-11-20 18:28:34 +01:00
parent 0f740b1a02
commit d668b3e640

View file

@ -116,7 +116,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
section_id=section.id,
children=item['children'])
except:
utils.ERROR()
utils.ERROR(notify=True, cancel_sync=True)
self.title = item['xml'][0].get('title')
self.processed += 1
self.update_progressbar()