Warn user and stop sync if crash occurs
This commit is contained in:
parent
0f740b1a02
commit
d668b3e640
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
|
||||||
section_id=section.id,
|
section_id=section.id,
|
||||||
children=item['children'])
|
children=item['children'])
|
||||||
except:
|
except:
|
||||||
utils.ERROR()
|
utils.ERROR(notify=True, cancel_sync=True)
|
||||||
self.title = item['xml'][0].get('title')
|
self.title = item['xml'][0].get('title')
|
||||||
self.processed += 1
|
self.processed += 1
|
||||||
self.update_progressbar()
|
self.update_progressbar()
|
||||||
|
|
Loading…
Reference in a new issue