1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-21 11:13:46 +01:00
This commit is contained in:
J. Nick Koston
2025-10-17 15:44:36 -10:00
parent db69ce24ae
commit a1d6bac21a

View File

@@ -387,17 +387,10 @@ def main():
file=sys.stderr, file=sys.stderr,
) )
try:
analyzer = MemoryAnalyzerCLI(elf_file, idedata=idedata) analyzer = MemoryAnalyzerCLI(elf_file, idedata=idedata)
analyzer.analyze() analyzer.analyze()
report = analyzer.generate_report() report = analyzer.generate_report()
print(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)
if __name__ == "__main__": if __name__ == "__main__":