From 9a430fb7908ddf65f2c0e22ee12334f9e9bc76d0 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Fri, 27 Sep 2024 16:52:51 -0400 Subject: [PATCH] Remove extraneous error message This error message is logged in the retry decorator after all retry attempts are exhausted. This is code leftover from the previous behavior. --- koku/masu/database/report_db_accessor_base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/koku/masu/database/report_db_accessor_base.py b/koku/masu/database/report_db_accessor_base.py index 6542cf651d..0e64def15b 100644 --- a/koku/masu/database/report_db_accessor_base.py +++ b/koku/masu/database/report_db_accessor_base.py @@ -147,7 +147,6 @@ def _execute_trino_raw_sql_query_with_description( results = trino_cur.fetchall() description = trino_cur.description except TrinoQueryError as ex: - LOG.error(log_json(msg="failed trino sql execution", log_ref=log_ref, context=ctx), exc_info=ex) if "NoSuchKey" in str(ex): raise TrinoNoSuchKeyError( message=ex.message,