diff --git a/aqt/errors.py b/aqt/errors.py index 6da93b8fd..699593552 100644 --- a/aqt/errors.py +++ b/aqt/errors.py @@ -3,10 +3,12 @@ # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import sys, traceback import html +import re from anki.lang import _ from aqt.qt import * from aqt.utils import showText, showWarning +from aqt import mw if not os.environ.get("DEBUG"): def excepthook(etype,val,tb): @@ -121,17 +123,30 @@ report the issue on the add-ons section of our support site.
Debug info:
-""") +""") if self.mw.addonManager.dirty: txt = pluginText + error = self._supportText() + self._addonText(error) + "\n" + error else: txt = stdText + error = self._supportText() + "\n" + error + # show dialog - error = self._supportText() + "\n" + error - txt = txt + "