diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 32b2f0324..010d1ca98 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -205,7 +205,7 @@ function interface:on(what, ...) 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