Diff

net/server_epoll.lua @ 10589:3540118699cf

net.server_epoll: Log error about missing *all* callbacks at 'error' level
author Kim Alvefur <zash@zash.se>
date Sun, 12 Jan 2020 20:36:21 +0100
parent 10588:ceadf3d3fecf
child 10638:92918212ee83
line wrap: on
line diff
--- a/net/server_epoll.lua	Sun Jan 12 20:36:04 2020 +0100
+++ b/net/server_epoll.lua	Sun Jan 12 20:36:21 2020 +0100
@@ -180,7 +180,7 @@
 -- 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];