From 2e28976d7cb37b670f278d866ff611a7509a7de6 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 30 Oct 2017 12:55:24 -0400 Subject: [PATCH] Change exception to debug on expected RAC integrity error Fixes https://jira.prod.coreos.systems/browse/QS-44 --- data/model/repositoryactioncount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/model/repositoryactioncount.py b/data/model/repositoryactioncount.py index 1550b224d..c9e41daa9 100644 --- a/data/model/repositoryactioncount.py +++ b/data/model/repositoryactioncount.py @@ -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