Skip to content

Commit 2299cee

Browse files
committed
Update errorMessage to remove reference to memory distribution
1 parent 59279b0 commit 2299cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glean/src/core/metrics/types/custom_distribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class CustomDistributionMetric extends Metric<
5757
return {
5858
type: MetricValidation.Error,
5959
errorType: ErrorType.InvalidType,
60-
errorMessage: `Expected valid MemoryDistribution object, got ${JSON.stringify(obj)}`,
60+
errorMessage: `Expected valid CustomDistribution object, got ${JSON.stringify(obj)}`,
6161
};
6262
}
6363

0 commit comments

Comments
 (0)