Avoid storing raw extracted traceback in system_log (#114603)

This is never actually used and takes up quite a bit of ram
This commit is contained in:
J. Nick Koston 2024-04-01 15:35:38 -10:00 committed by GitHub
parent ce9d4c8683
commit 0963f5e642
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,7 +166,6 @@ class LogEntry:
"level",
"message",
"exception",
"extracted_tb",
"root_cause",
"source",
"count",
@ -200,7 +199,6 @@ class LogEntry:
else:
self.source = (record.pathname, record.lineno)
self.count = 1
self.extracted_tb = extracted_tb
self.key = (self.name, self.source, self.root_cause)
def to_dict(self) -> dict[str, Any]: