# HG changeset patch # User Kim Alvefur # Date 1593531279 -7200 # Node ID 03e76ad725b2194450c7fd39f3cab045da920072 # Parent b824fe9d0c8b7976d9114bc06bb994c757c05cc8 net.server_epoll: ... and include a traceback diff -r b824fe9d0c8b -r 03e76ad725b2 net/server_epoll.lua --- a/net/server_epoll.lua Tue Jun 30 17:33:48 2020 +0200 +++ b/net/server_epoll.lua Tue Jun 30 17:34:39 2020 +0200 @@ -124,7 +124,7 @@ end local _, timer, id = timers:pop(); - local ok, ret = pcall(timer, now, id); + local ok, ret = xpcall(timer, traceback, now, id); if ok and type(ret) == "number" then local next_time = elapsed+ret; timers:insert(timer, next_time);