From 6b592b4beeacba785621223c4434179aebf3a30b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 7 Oct 2018 17:40:13 +0200 Subject: net.server_epoll: Log error number from wait() --- net/server_epoll.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/server_epoll.lua b/net/server_epoll.lua index fde007f6..7a860878 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -714,7 +714,7 @@ local function loop(once) poll:del(fd); end elseif r ~= "timeout" then - log("debug", "epoll_wait error: %s", tostring(r)); + log("debug", "epoll_wait error: %s[%d]", r, w); end until once or (quitting and next(fds) == nil); return quitting; -- cgit v1.2.3