Typo fix: not print last, print exc (#33182)
diff --git a/scripts/tools/memory/gh_report.py b/scripts/tools/memory/gh_report.py
index d28e209..ba30cde 100755
--- a/scripts/tools/memory/gh_report.py
+++ b/scripts/tools/memory/gh_report.py
@@ -170,7 +170,7 @@
except Exception:
# Report in case the zipfile is invalid, however do not fail
# all the rest (behave as if artifact download has failed)
- traceback.print_last()
+ traceback.print_exc()
def read_inputs(self):
"""Read size report from github and/or local files."""