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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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): |
|
|
|