From e8a77c6ff21526b7ff583f90de6eabf8eb3696e3 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 6 Jun 2019 20:26:11 +0300 Subject: [PATCH] Improve logging. GitOrigin-RevId: c8b36adceffd8e4d47d6c59a81703681bed6997b --- td/telegram/Td.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index 342ab0d79..aa601697f 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -3375,7 +3375,6 @@ td_api::object_ptr Td::static_request(td_api::object_ptrget_id()) { - case td_api::getTextEntities::ID: case td_api::parseTextEntities::ID: case td_api::getFileMimeType::ID: case td_api::getFileExtension::ID: @@ -3645,7 +3644,7 @@ void Td::start_up() { } void Td::tear_down() { - CHECK(close_flag_ == 5); + LOG_CHECK(close_flag_ == 5) << close_flag_; } void Td::hangup_shared() {