failed to get blocks message

This commit is contained in:
Kevin Froman 2018-01-27 17:02:03 -06:00
parent db9ed46162
commit f3c1587d51

View File

@ -117,7 +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") logger.warn(action + " failed with peer " + peer)
return False return False
return r.text return r.text