Change exception to debug on expected RAC integrity error
Fixes https://jira.prod.coreos.systems/browse/QS-44
This commit is contained in:
parent
c64616cbd9
commit
2e28976d7c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def count_repository_actions(to_count):
|
||||||
RepositoryActionCount.create(repository=to_count, date=yesterday, count=actions)
|
RepositoryActionCount.create(repository=to_count, date=yesterday, count=actions)
|
||||||
return True
|
return True
|
||||||
except IntegrityError:
|
except IntegrityError:
|
||||||
logger.exception('Exception when writing count for repository')
|
logger.debug('Count already written for repository %s', to_count.id)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue