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

This commit is contained in:
lagertonne 2024-12-26 20:40:25 +01:00
parent 66a03a9dca
commit 8bdf9e1c8a

View file

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