From bc73ff33898130e254391610ea0ae068a14effef Mon Sep 17 00:00:00 2001 From: iphydf Date: Fri, 13 Feb 2026 08:48:07 +0000 Subject: [PATCH] cleanup: Remove redundant traceback. Also print which issue we're reporting the error to. --- tools/create_release.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/create_release.py b/tools/create_release.py index a111938..d3f07e8 100755 --- a/tools/create_release.py +++ b/tools/create_release.py @@ -5,7 +5,6 @@ import os import re import subprocess # nosec -import traceback from dataclasses import dataclass import create_tarballs @@ -152,6 +151,7 @@ def report_failure(self, version: str, exception: Exception) -> None: if not self.config.issue: return + print(f"Reporting failure to tracking issue #{self.config.issue}...") instruction = f"❌ **Failure:** {exception}" self.assign_to_user( None, @@ -167,7 +167,6 @@ def run(self) -> None: except stage.UserAbort as e: print(e.message) except Exception as e: - traceback.print_exc() self.report_failure(self.version, e) raise e