mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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":
|
if unicode(e) == "invalidFile":
|
||||||
# already logged
|
# already logged
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
imp.log.append(unicode(e))
|
||||||
self.col.save()
|
self.col.save()
|
||||||
return imp.log
|
return imp.log
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue