fixed performget error type mismatch

This commit is contained in:
Kevin Froman 2018-01-27 19:58:30 -06:00
parent 2ed6475195
commit abcdf58b1f
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class OnionrCommunicate:
try:
r = requests.get(url, headers=headers, proxies=proxies)
except requests.exceptions.RequestException as e:
logger.warn(action + " failed with peer " + peer + ": " + e)
logger.warn(action + " failed with peer " + peer + ": " + str(e))
return False
return r.text