changeset 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
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 15:15:17 2020 +0000
+++ b/mod_sentry/sentry.lib.lua	Wed Dec 09 16:11:47 2020 +0000
@@ -76,7 +76,9 @@
 				lineno = frame.info.currentline;
 			});
 		end
-		exception.frames = frames;
+		exception.stacktrace = {
+			frames = frames;
+		};
 	end
 	return exception;
 end