Add 'Enterprise' label to rageshake

This commit is contained in:
Benoit Marty 2024-06-14 11:42:57 +02:00 committed by Benoit Marty
parent 2659713486
commit 0e3821c9b2

View file

@ -169,6 +169,9 @@ class DefaultBugReporter @Inject constructor(
currentTracingFilter?.let {
builder.addFormDataPart("tracing_filter", it)
}
if (buildMeta.isEnterpriseBuild) {
builder.addFormDataPart("label", "Enterprise")
}
// add the gzipped files, don't cancel the whole upload if only some file failed to upload
var totalUploadedSize = 0L
var uploadedSomeLogs = false