mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Remove fault addr from tombstone title
old-commit-hash: e1685b90199f6a05bcedf5d65c1dd9fda58fafb4
This commit is contained in:
@@ -35,6 +35,11 @@ def report_tombstone(fn, client):
|
||||
if name_idx >= 0:
|
||||
message = message[name_idx:]
|
||||
|
||||
# Cut off fault addr
|
||||
fault_idx = message.find(', fault addr')
|
||||
if fault_idx >= 0:
|
||||
message = message[:fault_idx]
|
||||
|
||||
cloudlog.error({'tombstone': message})
|
||||
client.captureMessage(
|
||||
message=message,
|
||||
|
||||
Reference in New Issue
Block a user