don't catch DeprecationWarnings in the GUI

This commit is contained in:
Damien Elmes 2020-12-16 14:25:11 +10:00
parent 06399446e3
commit 8e7e01ccfd

View file

@ -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():