diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-09-15 19:33:22 +0300 |
---|---|---|
committer | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-09-15 19:33:22 +0300 |
commit | 34b74cd1299fb91fd68e68aed4d7ab733a9181a1 (patch) | |
tree | b7abdc93b60377d891c0cb570a6d5aad346dc841 | |
parent | 6a3c8387da208ac2ffa4757dfafe1600a693b24f (diff) |
Fix compile error
-rw-r--r-- | src/Api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Api.cpp b/src/Api.cpp index 4db54e9..7e05621 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -272,7 +272,7 @@ ptree Api::sendRequest(const string& method, const vector<HttpReqArg>& args) con throw TgException(result.get("description", "")); } } catch (boost::property_tree::ptree_error& e) { - throw TgException("tgbot-cpp library can't parse json response. " + e.what()); + throw TgException("tgbot-cpp library can't parse json response. " + string(e.what())); } } |