Diff

net/server_epoll.lua @ 11239:06a5919e2496

net.server_epoll: Increase log level for error in callback It's an error, it should be logged at error level.
author Kim Alvefur <zash@zash.se>
date Wed, 16 Dec 2020 10:55:04 +0100
parent 11068:988ddd57e851
child 11264:2cdcf55c6dd5
line wrap: on
line diff
--- a/net/server_epoll.lua	Wed Dec 16 08:53:57 2020 +0100
+++ b/net/server_epoll.lua	Wed Dec 16 10:55:04 2020 +0100
@@ -205,7 +205,7 @@
 			self:error("Closing due to error calling on%s: %s", what, err);
 			self:destroy();
 		else
-			self:debug("Error calling on%s: %s", what, err);
+			self:error("Error calling on%s: %s", what, err);
 		end
 		return nil, err;
 	end