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 | d8d6efa3ab002ee94341de79d0946f218f6fb61e (patch) | |
tree | f5aeaee8155817ad4fbf86487f1c8f5c0060fc14 | |
parent | 0bd28a3c0f5a48d874bb603b0e7fe7c58a0c7b1b (diff) | |
download | prosody-d8d6efa3ab002ee94341de79d0946f218f6fb61e.tar.gz prosody-d8d6efa3ab002ee94341de79d0946f218f6fb61e.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); |