From a1d6bac21a41fcbfd49a7356dc13ea0a06f6ea08 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 17 Oct 2025 15:44:36 -1000 Subject: [PATCH] preen --- esphome/analyze_memory/cli.py | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/esphome/analyze_memory/cli.py b/esphome/analyze_memory/cli.py index e8541b1621..7b004353ec 100644 --- a/esphome/analyze_memory/cli.py +++ b/esphome/analyze_memory/cli.py @@ -387,17 +387,10 @@ def main(): file=sys.stderr, ) - try: - analyzer = MemoryAnalyzerCLI(elf_file, idedata=idedata) - analyzer.analyze() - report = analyzer.generate_report() - print(report) - except Exception as e: - print(f"Error: {e}", file=sys.stderr) - import traceback - - traceback.print_exc(file=sys.stderr) - sys.exit(1) + analyzer = MemoryAnalyzerCLI(elf_file, idedata=idedata) + analyzer.analyze() + report = analyzer.generate_report() + print(report) if __name__ == "__main__":