diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-30 17:34:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-30 17:34:39 +0200 |
commit | 0a071df2d476cabe6153b250189ca6fa0e8a1762 (patch) | |
tree | f5aeaee8155817ad4fbf86487f1c8f5c0060fc14 | |
parent | 6baa04b056c6090a1b236eef246eed914c91da83 (diff) | |
download | prosody-0a071df2d476cabe6153b250189ca6fa0e8a1762.tar.gz prosody-0a071df2d476cabe6153b250189ca6fa0e8a1762.zip |
net.server_epoll: ... and include a traceback
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 64f79921..f102f806 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -124,7 +124,7 @@ local function runtimers(next_delay, min_wait) 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); |