From 3778d343b10d29549e23c04d2e85b1f7edb28d03 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 16 Dec 2020 14:25:11 +1000 Subject: [PATCH] don't catch DeprecationWarnings in the GUI --- qt/aqt/errors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/errors.py b/qt/aqt/errors.py index 04c08e7d0..bfbf12ab8 100644 --- a/qt/aqt/errors.py +++ b/qt/aqt/errors.py @@ -72,6 +72,8 @@ class ErrorHandler(QObject): self.mw.progress.clear() if "abortSchemaMod" in error: return + if "DeprecationWarning" in error: + return if "10013" in error: return showWarning(tr(TR.QT_MISC_YOUR_FIREWALL_OR_ANTIVIRUS_PROGRAM_IS)) if "no default input" in error.lower():