failed to get blocks message
parent
5457e1fdb7
commit
db9ed46162
|
@ -117,6 +117,7 @@ class OnionrCommunicate:
|
||||||
try:
|
try:
|
||||||
r = requests.get(url, headers=headers, proxies=proxies)
|
r = requests.get(url, headers=headers, proxies=proxies)
|
||||||
except requests.exceptions.RequestException:
|
except requests.exceptions.RequestException:
|
||||||
|
logger.warn("Failed to get blocks")
|
||||||
return False
|
return False
|
||||||
return r.text
|
return r.text
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue