From 2df3de7b80c92f286b257fde42823949c1ef483f Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 10 Mar 2020 04:37:46 +0300 Subject: [PATCH] Improve logging. GitOrigin-RevId: 8574b038e9682f8020d1508a7be7beef223e1b08 --- tdutils/td/utils/port/detail/Epoll.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdutils/td/utils/port/detail/Epoll.cpp b/tdutils/td/utils/port/detail/Epoll.cpp index a14465d3d..e691570d9 100644 --- a/tdutils/td/utils/port/detail/Epoll.cpp +++ b/tdutils/td/utils/port/detail/Epoll.cpp @@ -70,7 +70,8 @@ void Epoll::unsubscribe(PollableFdRef fd_ref) { int err = epoll_ctl(epoll_fd_.fd(), EPOLL_CTL_DEL, native_fd, nullptr); auto epoll_ctl_errno = errno; LOG_IF(FATAL, err == -1) << Status::PosixError(epoll_ctl_errno, "epoll_ctl DEL failed") - << ", epoll_fd = " << epoll_fd_.fd() << ", fd = " << native_fd << fd.native_fd().validate(); + << ", epoll_fd = " << epoll_fd_.fd() << ", fd = " << native_fd + << ", status = " << fd.native_fd().validate(); } void Epoll::unsubscribe_before_close(PollableFdRef fd) {