aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-01-12 20:36:21 +0100
committerKim Alvefur <zash@zash.se>2020-01-12 20:36:21 +0100
commitda1edea68ef8fc9eb3b5483f1ce97e9586936ba6 (patch)
tree200aceaea2701337bd494e4dd2befb0dd6453647
parent08d280a145bba8f7f13c99878dd38070b1bf5bab (diff)
downloadprosody-da1edea68ef8fc9eb3b5483f1ce97e9586936ba6.tar.gz
prosody-da1edea68ef8fc9eb3b5483f1ce97e9586936ba6.zip
net.server_epoll: Log error about missing *all* callbacks at 'error' level
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 74cec7a2..897bd111 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -180,7 +180,7 @@ end
-- Call a listener callback
function interface:on(what, ...)
if not self.listeners then
- self:debug("Interface is missing listener callbacks");
+ self:error("Interface is missing listener callbacks");
return;
end
local listener = self.listeners["on"..what];