mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 15:32:07 +08:00
tombstoned: fix address offset in string
This commit is contained in:
@@ -156,7 +156,7 @@ def report_tombstone_apport(fn, client):
|
||||
crash_function = stacktrace_s[1]
|
||||
|
||||
# Remove arguments that can contain pointers to make sentry one-liner unique
|
||||
crash_function = " ".join(crash_function.split(' ')[2:])
|
||||
crash_function = " ".join(crash_function.split(' ')[4:])
|
||||
crash_function = re.sub(r'\(.*?\)', '', crash_function)
|
||||
|
||||
contents = stacktrace + "\n\n" + contents
|
||||
|
||||
Reference in New Issue
Block a user