Software /
code /
prosody-modules
Diff
mod_debug_traceback/mod_debug_traceback.lua @ 4217:983565f42063
mod_debug_traceback: Fix to use the cached traceback
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Oct 2020 14:28:34 +0100 |
parent | 4214:5841d54cb6c6 |
child | 4222:02292b892fce |
line wrap: on
line diff
--- a/mod_debug_traceback/mod_debug_traceback.lua Fri Oct 16 14:26:53 2020 +0100 +++ b/mod_debug_traceback/mod_debug_traceback.lua Fri Oct 16 14:28:34 2020 +0100 @@ -40,7 +40,7 @@ return; end f:write("-- Traceback generated at ", os.date("%b %d %H:%M:%S"), " --\n"); - f:write(traceback(), "\n"); + f:write(tb, "\n"); f:write("-- End of traceback --\n"); f:close(); count = count + 1;