This commit is contained in:
keita
2021-10-07 21:50:46 +09:00
parent d3d0dc96fd
commit e7c0df8e99
5 changed files with 31 additions and 28 deletions
+3
View File
@@ -114,6 +114,9 @@ void HttpPost::process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth,
exit(1);
}
#ifndef NDEBUG
std::cout << rcv << std::endl;
#endif
if ((responseCode / 100) == 4) {
auto j = nlohmann::json::parse(rcv);
auto error = j["errors"][0]["code"];