Software /
code /
prosody-modules
Changeset
4287:2c4157785b42
mod_sentry: Don't include tracebacks in extra context
They're supplied as a proper stack trace now.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 09 Dec 2020 16:12:35 +0000 |
parents | 4286:64f400a38a30 |
children | 4288:26bc1ae88ccb |
files | mod_sentry/sentry.lib.lua |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_sentry/sentry.lib.lua Wed Dec 09 16:11:47 2020 +0000 +++ b/mod_sentry/sentry.lib.lua Wed Dec 09 16:12:35 2020 +0000 @@ -48,7 +48,9 @@ instance_id = instance_id; }; for k, v in pairs(context) do - data[k] = tostring(v); + if k ~= "traceback" then + data[k] = tostring(v); + end end return data; end