metrics: Fix bug when running migrate on empty db
All checks were successful
/ test (push) Successful in 2m49s
/ test (pull_request) Successful in 2m47s

This commit is contained in:
lagertonne 2024-12-26 20:40:25 +01:00
parent 598f758332
commit e234385802

View file

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