diff --git a/.gitignore b/.gitignore index c9919ab..e2bc744 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ var/ .idea/ venv/ +.venv/ # PyInstaller # Usually these files are written by a python script from a template diff --git a/telebot/apihelper.py b/telebot/apihelper.py index 9588c4e..07e0528 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -1661,4 +1661,5 @@ class ApiTelegramException(ApiException): result) self.result_json = result_json self.error_code = result_json['error_code'] + self.description = result_json['description']