diff options
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 32b2f032..010d1ca9 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 |