Skip to content

Commit

Permalink
Revert format/comment changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyastremsky committed Mar 1, 2024
1 parent e7e3808 commit 3c03772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/c++/perf_analyzer/genai-pa/genai_pa/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c03772

Please sign in to comment.