diff --git a/core/core/metrics.py b/core/core/metrics.py index 149829c..4964968 100644 --- a/core/core/metrics.py +++ b/core/core/metrics.py @@ -32,4 +32,7 @@ class ItemCountCollector(object): yield counter -REGISTRY.register(ItemCountCollector()) \ No newline at end of file +try: + REGISTRY.register(ItemCountCollector()) +except Exception as e: + print(e)