summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-09-15 19:33:22 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-09-15 19:33:22 +0300
commit34b74cd1299fb91fd68e68aed4d7ab733a9181a1 (patch)
treeb7abdc93b60377d891c0cb570a6d5aad346dc841
parent6a3c8387da208ac2ffa4757dfafe1600a693b24f (diff)
Fix compile error
-rw-r--r--src/Api.cpp2
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()));
}
}