diff options
author | Kim Alvefur <zash@zash.se> | 2019-05-25 16:09:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-05-25 16:09:26 +0200 |
commit | d06300c456ad2209a500e64a6efac1094d58bdea (patch) | |
tree | d73d6801918aa172a90bde3213ef430590fc0784 /net/server_epoll.lua | |
parent | 41c458eac5f9df61ab8af811c74c8d89e7f38e98 (diff) | |
download | prosody-d06300c456ad2209a500e64a6efac1094d58bdea.tar.gz prosody-d06300c456ad2209a500e64a6efac1094d58bdea.zip |
net.server_epoll: Return listener error message
Diffstat (limited to 'net/server_epoll.lua')
-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 5f62d931..4061d755 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -162,7 +162,7 @@ function interface:on(what, ...) local ok, err = pcall(listener, self, ...); if not ok then log("error", "Error calling on%s: %s", what, err); - return; + return nil, err; end return err; end |