Avoid URL.formatted() method (#408)

This commit is contained in:
Nikolay Edigaryev
2023-02-08 06:52:01 -05:00
committed by GitHub
parent d65f530bcb
commit b566d07bc4
+1 -1
View File
@@ -101,7 +101,7 @@ struct Prune: AsyncParsableCommand {
cacheReclaimedBytes += try prunable.sizeBytes()
try prunable.delete()
try SentrySDK.span?.setExtra(value: prunable.sizeBytes(), key: prunable.url.formatted());
try SentrySDK.span?.setExtra(value: prunable.sizeBytes(), key: prunable.url.path);
}
SentrySDK.span?.setMeasurement(name: "gc_disk_reclaimed", value: cacheReclaimedBytes as NSNumber, unit: MeasurementUnitInformation.byte);