Merge pull request 'metrics: Fix bug when running migrate on empty db' (#109) from lagertonne/fix-db-creation-with-metrics into testing
This commit is contained in:
commit
a2f7682c6f
1 changed files with 4 additions and 1 deletions
|
@ -32,4 +32,7 @@ class ItemCountCollector(object):
|
||||||
|
|
||||||
yield counter
|
yield counter
|
||||||
|
|
||||||
REGISTRY.register(ItemCountCollector())
|
try:
|
||||||
|
REGISTRY.register(ItemCountCollector())
|
||||||
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue