mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 01:29:35 +02:00
Merge pull request #7744 from overleaf/td-sentry-tag-name-change
Ensure split test Sentry tag names are within the 32-character limit GitOrigin-RevId: cc5cc5629b8b7e988d3ca6471892c8f90cf5171b
This commit is contained in:
@@ -57,7 +57,8 @@ function sentryReporter() {
|
||||
const splitTestAssignments = getMeta('ol-splitTestVariants')
|
||||
if (splitTestAssignments) {
|
||||
for (const [name, value] of Object.entries(splitTestAssignments)) {
|
||||
Sentry.setTag(`ol.splitTest.${name}`, value.toString())
|
||||
// Ensure Sentry tag name is within the 32-character limit
|
||||
Sentry.setTag(`ol.${name}`.slice(0, 32), value.toString())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user