# HG changeset patch # User Kim Alvefur # Date 1538926813 -7200 # Node ID af7eafe824477e1cf4db3155da4e1c1f98c7f439 # Parent 7c1cdf5f9f838a6a49a706314f35b5b95ced7e29 net.server_epoll: Log error number from wait() diff -r 7c1cdf5f9f83 -r af7eafe82447 net/server_epoll.lua --- a/net/server_epoll.lua Sun Oct 07 03:48:13 2018 +0200 +++ b/net/server_epoll.lua Sun Oct 07 17:40:13 2018 +0200 @@ -714,7 +714,7 @@ 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;