1
0

crash reporter: add EarlyExceptionsQueue

`util.send_exception_to_crash_reporter` is now useful and can be transparently
used even before the exception hook is set up.
This commit is contained in:
SomberNight
2021-11-05 19:55:22 +01:00
parent e0246b30b9
commit c331c311db
6 changed files with 44 additions and 8 deletions

View File

@@ -403,8 +403,6 @@ class ElectrumGui(Logger):
signal.signal(signal.SIGINT, lambda *args: self.app.quit())
# hook for crash reporter
Exception_Hook.maybe_setup(config=self.config)
if self.daemon.exception: # if daemon errored too early, replay that now:
send_exception_to_crash_reporter(self.daemon.exception)
# first-start network-setup
try:
self.init_network()