Software /
code /
prosody-modules
Changeset
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 |
parents | 4216:35b678609b79 |
children | 4218:f917bb78ab67 |
files | mod_debug_traceback/mod_debug_traceback.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;