Mercurial > prosody-modules
comparison mod_sentry/sentry.lib.lua @ 4286:64f400a38a30
mod_sentry: Fix syntax for inclusion of stack traces in events
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 09 Dec 2020 16:11:47 +0000 |
| parents | e67081d1f835 |
| children | 2c4157785b42 |
comparison
equal
deleted
inserted
replaced
| 4285:e67081d1f835 | 4286:64f400a38a30 |
|---|---|
| 74 ["function"] = frame.info.name; | 74 ["function"] = frame.info.name; |
| 75 filename = frame.info.short_src; | 75 filename = frame.info.short_src; |
| 76 lineno = frame.info.currentline; | 76 lineno = frame.info.currentline; |
| 77 }); | 77 }); |
| 78 end | 78 end |
| 79 exception.frames = frames; | 79 exception.stacktrace = { |
| 80 frames = frames; | |
| 81 }; | |
| 80 end | 82 end |
| 81 return exception; | 83 return exception; |
| 82 end | 84 end |
| 83 | 85 |
| 84 local sentry_event_methods = {}; | 86 local sentry_event_methods = {}; |
