Merge pull request #2900 from coreos-inc/joseph.schorr/QS-44/rac-duplicate

Change exception to debug on expected RAC integrity error
This commit is contained in:
josephschorr 2017-10-30 17:40:19 -04:00 committed by GitHub
commit f9dc4e79b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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