Compare commits

...

2 commits

Author SHA1 Message Date
a2f7682c6f Merge pull request 'metrics: Fix bug when running migrate on empty db' (#109) from lagertonne/fix-db-creation-with-metrics into testing
All checks were successful
/ test (push) Successful in 2m52s
/ deploy (push) Successful in 4m37s
2024-12-26 19:52:28 +00:00
e234385802 metrics: Fix bug when running migrate on empty db
All checks were successful
/ test (push) Successful in 2m49s
/ test (pull_request) Successful in 2m47s
2024-12-26 19:49:12 +00:00

View file

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