metrics: Fix bug when running migrate on empty db #109

Merged
lagertonne merged 1 commit from lagertonne/fix-db-creation-with-metrics into testing 2024-12-26 19:52:28 +00:00

View file

@ -32,4 +32,7 @@ class ItemCountCollector(object):
yield counter yield counter
try:
REGISTRY.register(ItemCountCollector()) REGISTRY.register(ItemCountCollector())
except Exception as e:
print(e)