mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure we log the exceptions when upgrading
This commit is contained in:
parent
826cbd3ecf
commit
5c80708765
1 changed files with 2 additions and 0 deletions
|
@ -244,6 +244,8 @@ class UpgradeThread(QThread):
|
|||
if unicode(e) == "invalidFile":
|
||||
# already logged
|
||||
pass
|
||||
else:
|
||||
imp.log.append(unicode(e))
|
||||
self.col.save()
|
||||
return imp.log
|
||||
|
||||
|
|
Loading…
Reference in a new issue