Merge pull request #4326 from overleaf/pr-avoid-double-stringify-compile-events

Remove controller-level `stringify` for compile events

GitOrigin-RevId: 1b33b5204a846dc4f25dcfbad02c1edc1e010e9f
This commit is contained in:
Jakob Ackermann 2021-07-19 11:27:42 +02:00 committed by Copybot
parent d257884dce
commit 97da586877

View file

@ -732,11 +732,7 @@ App.controller(
newLogsUI: window.showNewLogsUI,
subvariant: window.showNewLogsUI ? window.logsUISubvariant : null,
}
eventTracking.sendMBSampled(
'compile-result',
JSON.stringify(metadata),
0.01
)
eventTracking.sendMBSampled('compile-result', metadata, 0.01)
}
}