Change exception to debug on expected RAC integrity error

Fixes https://jira.prod.coreos.systems/browse/QS-44
This commit is contained in:
Joseph Schorr 2017-10-30 12:55:24 -04:00
parent c64616cbd9
commit 2e28976d7c

View file

@ -63,7 +63,7 @@ def count_repository_actions(to_count):
RepositoryActionCount.create(repository=to_count, date=yesterday, count=actions)
return True
except IntegrityError:
logger.exception('Exception when writing count for repository')
logger.debug('Count already written for repository %s', to_count.id)
return False