net.server_epoll: Report errors in timers

This commit is contained in:
Kim Alvefur 2020-06-30 17:33:48 +02:00
parent 7fb1dd361b
commit 6baa04b056

View file

@ -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();