From 992f6373ab3619217789783bd870fe05c93b5f1a Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 27 May 2018 01:32:35 +0200 Subject: [PATCH] Added warning if in_reply_to_id is not found --- CMakeLists.txt | 2 +- src/masto.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43da5db..4e6593f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.7.2 + VERSION 0.7.3 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index 51f5e63..f083659 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -333,6 +333,7 @@ const std::uint_fast64_t Listener::get_parent_id(const Easy::Notification ¬if } else { + syslog(LOG_WARNING, "Could not get ID of replied-to parent post"); std::this_thread::sleep_for(std::chrono::seconds(2)); } }