Skip to content

Commit

Permalink
Remove extraneous error message
Browse files Browse the repository at this point in the history
This error message is logged in the retry decorator after all retry attempts
are exhausted. This is code leftover from the previous behavior.
  • Loading branch information
samdoran committed Sep 27, 2024
1 parent 949d026 commit 9a430fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion koku/masu/database/report_db_accessor_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a430fb

Please sign in to comment.