Browse Source

Merge pull request #7902 from nc50lc/master

Update "No Connection" error to be user-friendly
patch-4
ThomasV 3 years ago
committed by GitHub
parent
commit
776c7c2064
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electrum/network.py

2
electrum/network.py

@ -871,7 +871,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):
if task.done() and not task.cancelled():
return task.result()
# otherwise; try again
raise BestEffortRequestFailed('no interface to do request on... gave up.')
raise BestEffortRequestFailed('cannot establish a connection... gave up.')
return make_reliable_wrapper
def catch_server_exceptions(func):

Loading…
Cancel
Save