Changeset

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
parents 10588:ceadf3d3fecf
children 10590:257dc26e8e65
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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];