1
0

crash reporter: remove "Never" btn and config.SHOW_CRASH_REPORTER opt

- always hook into sys.excepthook and show the crash reporter
- if we don't hook into sys.excepthook and an exception propagates out on a Qt thread,
  that kills the Qt GUI
  - ref https://github.com/spesmilo/electrum/pull/10049#issuecomment-3089278083
This commit is contained in:
SomberNight
2025-07-18 15:51:27 +00:00
parent 2ed691b8f0
commit 970f84151d
4 changed files with 0 additions and 28 deletions

View File

@@ -886,7 +886,6 @@ Warning: setting this to too low will result in lots of payment failures."""),
long_desc=lambda: _("Select which language is used in the GUI (after restart)."),
)
BLOCKCHAIN_PREFERRED_BLOCK = ConfigVar('blockchain_preferred_block', default=None)
SHOW_CRASH_REPORTER = ConfigVar('show_crash_reporter', default=True, type_=bool)
DONT_SHOW_TESTNET_WARNING = ConfigVar('dont_show_testnet_warning', default=False, type_=bool)
RECENTLY_OPEN_WALLET_FILES = ConfigVar('recently_open', default=None)
IO_DIRECTORY = ConfigVar('io_dir', default=os.path.expanduser('~'), type_=str)