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
Showing only changes of commit e234385802 - Show all commits

View file

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