From 0faa38b8afb905fedc9bb7f11b39e1e6d8081760 Mon Sep 17 00:00:00 2001 From: Oleg Shlyazhko Date: Sat, 23 Jan 2016 19:29:01 +0300 Subject: [PATCH] fix httperror logging --- telegram/utils/botan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram/utils/botan.py b/telegram/utils/botan.py index 9d8716146..1dd8c4478 100644 --- a/telegram/utils/botan.py +++ b/telegram/utils/botan.py @@ -49,7 +49,7 @@ class Botan(object): return True except HTTPError as error: self.logger.warn('Botan track error ' + - str(error.code) + ':' + error.reason) + str(error.code) + ':' + error.read()) return False except URLError as error: self.logger.warn('Botan track error ' + error.reason)