Software /
code /
prosody
Diff
net/server_epoll.lua @ 9445:af7eafe82447
net.server_epoll: Log error number from wait()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Oct 2018 17:40:13 +0200 |
parent | 9441:116a9d0a295c |
child | 9473:5fdda751333a |
line wrap: on
line diff
--- 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;