There was an error while loading. Please reload this page.
1 parent 3542e01 commit 5c7cd2fCopy full SHA for 5c7cd2f
kafka/metrics/stats/percentiles.py
@@ -30,7 +30,7 @@ def __init__(self, size_in_bytes, bucketing, max_val, min_val=0.0,
30
' to be 0.0.')
31
self.bin_scheme = Histogram.LinearBinScheme(self._buckets, max_val)
32
else:
33
- ValueError('Unknown bucket type: %s' % (bucketing,))
+ raise ValueError('Unknown bucket type: %s' % (bucketing,))
34
35
def stats(self):
36
measurables = []
0 commit comments