mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
print exception on close
This commit is contained in:
parent
ce2890ca15
commit
55b99511c0
1 changed files with 2 additions and 1 deletions
|
@ -509,7 +509,8 @@ close the profile or restart Anki."""
|
|||
corrupt = True
|
||||
try:
|
||||
self.col.close(downgrade=self.downgrade_on_close)
|
||||
except:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
corrupt = True
|
||||
finally:
|
||||
self.col = None
|
||||
|
|
Loading…
Reference in a new issue