aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b5c69a6d..74cec7a2 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -191,7 +191,7 @@ function interface:on(what, ...)
local ok, err = xpcall(listener, traceback, self, ...);
if not ok then
if cfg.fatal_errors then
- self:debug("Closing due to error calling on%s: %s", what, err);
+ self:error("Closing due to error calling on%s: %s", what, err);
self:destroy();
else
self:debug("Error calling on%s: %s", what, err);