# HG changeset patch # User Kim Alvefur # Date 1593531228 -7200 # Node ID b824fe9d0c8b7976d9114bc06bb994c757c05cc8 # Parent 9dcbbb1d12c331842b1b0bffbb734ac509e8e91d net.server_epoll: Report errors in timers diff -r 9dcbbb1d12c3 -r b824fe9d0c8b net/server_epoll.lua --- a/net/server_epoll.lua Tue Jun 30 02:31:57 2020 +0200 +++ b/net/server_epoll.lua Tue Jun 30 17:33:48 2020 +0200 @@ -128,6 +128,8 @@ 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();