diff options
| author | levlam <levlam@telegram.org> | 2023-03-08 15:30:13 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-03-08 15:30:13 +0300 |
| commit | 5508285804f86e617d3dc927b88aee6cbd2a21f1 (patch) | |
| tree | 8b81bf75c5e4a8a14c7e78552d17e4fd2abd0228 /tdactor/td | |
| parent | 1d476d15b8b0b476283f9a4fbf4f5170a643eec5 (diff) | |
Improve fatal error logging.
Diffstat (limited to 'tdactor/td')
| -rw-r--r-- | tdactor/td/actor/MultiTimeout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdactor/td/actor/MultiTimeout.cpp b/tdactor/td/actor/MultiTimeout.cpp index 59b0fc216..4799098f7 100644 --- a/tdactor/td/actor/MultiTimeout.cpp +++ b/tdactor/td/actor/MultiTimeout.cpp @@ -68,8 +68,8 @@ void MultiTimeout::cancel_timeout(int64 key) { void MultiTimeout::update_timeout() { if (items_.empty()) { LOG(DEBUG) << "Cancel timeout of " << get_name(); - CHECK(timeout_queue_.empty()); - CHECK(Actor::has_timeout()); + LOG_CHECK(timeout_queue_.empty()) << get_name(); + LOG_CHECK(Actor::has_timeout()) << get_name(); Actor::cancel_timeout(); } else { LOG(DEBUG) << "Set timeout of " << get_name() << " in " << timeout_queue_.top_key() - Time::now_cached(); |
