We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01694a3 commit f79172cCopy full SHA for f79172c
electrum/gui/qml/qetxfinalizer.py
@@ -16,6 +16,7 @@
16
from electrum import keystore
17
from electrum.plugin import run_hook
18
from electrum.fee_policy import FeePolicy, FeeMethod
19
+from electrum.network import NetworkException
20
21
from .qewallet import QEWallet
22
from .qetypes import QEAmount
@@ -1013,6 +1014,9 @@ def fetch_privkeys_info():
1013
1014
try:
1015
self._txins = self._wallet.wallet.network.run_from_another_thread(sweep_preparations(privkeys, self._wallet.wallet.network))
1016
self._logger.debug(f'txins {self._txins!r}')
1017
+ except NetworkException as e:
1018
+ self.warning = _('Network error') + ': ' + str(e)
1019
+ return
1020
except UserFacingException as e:
1021
self.warning = str(e)
1022
return
0 commit comments