Browse Source

qt exc reporter: add FIXME re HTML tags in traceback

hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
b50c47c5ce
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/exception_window.py

2
electrum/gui/qt/exception_window.py

@ -58,6 +58,8 @@ class Exception_Window(BaseCrashReporter, QWidget, MessageBoxMixin, Logger):
main_box.addWidget(QLabel(BaseCrashReporter.REQUEST_HELP_MESSAGE))
collapse_info = QPushButton(_("Show report contents"))
# FIXME if traceback contains special HTML characters, e.g. '<'
# then formatting issues arise (due to rich_text=True)
collapse_info.clicked.connect(
lambda: self.msg_box(QMessageBox.NoIcon,
self, _("Report contents"), self.get_report_string(),

Loading…
Cancel
Save