fix httperror logging

This commit is contained in:
Oleg Shlyazhko 2016-01-23 19:29:01 +03:00
parent 5a2a541ae0
commit 0faa38b8af

View file

@ -49,7 +49,7 @@ class Botan(object):
return True return True
except HTTPError as error: except HTTPError as error:
self.logger.warn('Botan track error ' + self.logger.warn('Botan track error ' +
str(error.code) + ':' + error.reason) str(error.code) + ':' + error.read())
return False return False
except URLError as error: except URLError as error:
self.logger.warn('Botan track error ' + error.reason) self.logger.warn('Botan track error ' + error.reason)