summaryrefslogtreecommitdiff
path: root/src/KqueueEventPoll.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/KqueueEventPoll.cc')
-rw-r--r--src/KqueueEventPoll.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KqueueEventPoll.cc b/src/KqueueEventPoll.cc
index 8e30440d..688bc91f 100644
--- a/src/KqueueEventPoll.cc
+++ b/src/KqueueEventPoll.cc
@@ -133,8 +133,10 @@ void KqueueEventPoll::poll(const struct timeval& tv)
}
p->processEvents(events);
}
+ } else if(res == -1) {
+ int errNum = errno;
+ A2_LOG_INFO(fmt("kevent error: %s", util::safeStrerror(errNum).c_str()));
}
-
#ifdef ENABLE_ASYNC_DNS
// It turns out that we have to call ares_process_fd before ares's
// own timeout and ares may create new sockets or closes socket in