diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-07 17:40:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-07 17:40:13 +0200 |
commit | c81f221767c6b7a8a65259f56cc5cf49ab70744e (patch) | |
tree | 5ea1a530c5671c4ece169ee6a0583f7d7773d9a4 /net | |
parent | 7f563615fd60936c2fb8d6d2d3d2d3627491e6f2 (diff) | |
download | prosody-c81f221767c6b7a8a65259f56cc5cf49ab70744e.tar.gz prosody-c81f221767c6b7a8a65259f56cc5cf49ab70744e.zip |
net.server_epoll: Log error number from wait()
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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; |