From 55b99511c0824d38613c9c2606122c0e2b4ad216 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 8 Apr 2020 10:05:33 +1000 Subject: [PATCH] print exception on close --- qt/aqt/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/aqt/main.py b/qt/aqt/main.py index c199b3890..c26ea2f6f 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -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