print exception on close

This commit is contained in:
Damien Elmes 2020-04-08 10:05:33 +10:00
parent ce2890ca15
commit 55b99511c0

View file

@ -509,7 +509,8 @@ close the profile or restart Anki."""
corrupt = True corrupt = True
try: try:
self.col.close(downgrade=self.downgrade_on_close) self.col.close(downgrade=self.downgrade_on_close)
except: except Exception as e:
print(e)
corrupt = True corrupt = True
finally: finally:
self.col = None self.col = None