Software /
code /
prosody
Changeset
10990:03e76ad725b2
net.server_epoll: ... and include a traceback
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jun 2020 17:34:39 +0200 |
parents | 10989:b824fe9d0c8b |
children | 10991:aa85cb5b859f |
files | net/server_epoll.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);