From 3c0377273f7e00461c77e0133e9d45b874c93404 Mon Sep 17 00:00:00 2001 From: David Yastremsky Date: Fri, 1 Mar 2024 13:38:26 -0800 Subject: [PATCH] Revert format/comment changes. --- src/c++/perf_analyzer/genai-pa/genai_pa/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/c++/perf_analyzer/genai-pa/genai_pa/main.py b/src/c++/perf_analyzer/genai-pa/genai_pa/main.py index cdfb0cc51..b0f5c1e5a 100755 --- a/src/c++/perf_analyzer/genai-pa/genai_pa/main.py +++ b/src/c++/perf_analyzer/genai-pa/genai_pa/main.py @@ -48,10 +48,11 @@ def run(argv=None): def main(): + # Interactive use will catch exceptions and log formatted errors rather than tracebacks. try: run() except Exception as e: - logger.error(f"Unhandled exception: {e}") + logger.error(f"{e}") return 1 return 0