summary refs log tree commit diff stats
path: root/advice.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-02-03 22:33:53 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-02-03 22:33:53 -0500
commit1e48971c86341d0807be6cfc6ea740ff3a2acafe (patch)
treedd24faf04d893e8b5d393f4edd23959c7f865524 /advice.cpp
parent64bafcbfacac900aef7c6845b5540d4dd33ebd9c (diff)
downloadadvice-1e48971c86341d0807be6cfc6ea740ff3a2acafe.tar.gz
advice-1e48971c86341d0807be6cfc6ea740ff3a2acafe.tar.bz2
advice-1e48971c86341d0807be6cfc6ea740ff3a2acafe.zip
Added more debug text
Diffstat (limited to 'advice.cpp')
-rw-r--r--advice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/advice.cpp b/advice.cpp index c78c705..3428512 100644 --- a/advice.cpp +++ b/advice.cpp
@@ -312,6 +312,8 @@ void advice::run() const
312 312
313 long media_id = client_->uploadMedia("image/png", (const char*) outputimg.data(), outputimg.length()); 313 long media_id = client_->uploadMedia("image/png", (const char*) outputimg.data(), outputimg.length());
314 client_->updateStatus(tweetText, {media_id}); 314 client_->updateStatus(tweetText, {media_id});
315
316 std::cout << "Tweeted!" << std::endl << "Waiting..." << std::endl;
315 317
316 std::this_thread::sleep_for(std::chrono::hours(1)); 318 std::this_thread::sleep_for(std::chrono::hours(1));
317 } catch (const could_not_get_images& ex) 319 } catch (const could_not_get_images& ex)