aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_epoll.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index c5d5ec6c..64f79921 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -128,6 +128,8 @@ local function runtimers(next_delay, min_wait)
if ok and type(ret) == "number" then
local next_time = elapsed+ret;
timers:insert(timer, next_time);
+ elseif not ok then
+ log("error", "Error in timer: %s", ret);
end
peek = timers:peek();