Skip to content

Commit f6b621d

Browse files
authored
Merge branch '3.3' into feature/discovery-timeline
2 parents 855646f + 34c3468 commit f6b621d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public void add(double x, int w) {
283283

284284
private void add(double x, int w, List<Double> history) {
285285
if (Double.isNaN(x)) {
286-
throw new IllegalArgumentException("Cannot add NaN to t-digest");
286+
return;
287287
}
288288

289289
int where;

0 commit comments

Comments
 (0)