diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-06 18:50:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-06 18:50:30 +0200 |
commit | e02f405a5fcc3f90ed881261d2953a90a3a16257 (patch) | |
tree | 4968c4c15acb56f24cc88ad60f3c5f4f7ffd9ff2 /net | |
parent | 1da6bcc301359d67524fbf53b975e84c9907f37d (diff) | |
download | prosody-e02f405a5fcc3f90ed881261d2953a90a3a16257.tar.gz prosody-e02f405a5fcc3f90ed881261d2953a90a3a16257.zip |
net.server_epoll: Pass error number to logging
Why do we ignore unused secondaries?
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 be77f761..fde007f6 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -267,7 +267,7 @@ function interface:add(r, w) if w == nil then w = self._wantwrite; end local ok, err, errno = poll:add(fd, r, w); if not ok then - log("error", "Could not register %s: %s(%d)", self, err); + log("error", "Could not register %s: %s(%d)", self, err, errno); return ok, err; end self._wantread, self._wantwrite = r, w; |