aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit20ad50db57c447158df7162a1f48c3f6ec244553 (patch)
tree200aceaea2701337bd494e4dd2befb0dd6453647 /net
parent4a424901c6baefd64fb99acdb019517f6b77d856 (diff)
downloadprosody-20ad50db57c447158df7162a1f48c3f6ec244553.tar.gz
prosody-20ad50db57c447158df7162a1f48c3f6ec244553.zip
net.server_epoll: Log error about missing *all* callbacks at 'error' level
Diffstat (limited to 'net')
-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];