diff --git a/hstest/stage/sql_test.py b/hstest/stage/sql_test.py index 03d324e8..dbd5b43c 100644 --- a/hstest/stage/sql_test.py +++ b/hstest/stage/sql_test.py @@ -20,7 +20,7 @@ def execute(self, query_name: str): try: return cursor.execute(self.queries[query_name]) except Exception as ex: - raise WrongAnswer(f"Error while running '{query_name}': \n\n{str(ex)}") + raise WrongAnswer(f"Error while running '{query_name}': \n\n{ex}") def execute_and_fetch_all(self, query_name: str): return self.execute(query_name).fetchall()