failed to get blocks message

This commit is contained in:
Kevin Froman 2018-01-27 16:59:07 -06:00
parent 5457e1fdb7
commit db9ed46162

View File

@ -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