aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_epoll.lua')
-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];