Diff

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
parent 4285:e67081d1f835
child 4287:2c4157785b42
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