From 58f74863c34f0c34321c17e6ea3fee258edccf1a Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Tue, 18 Nov 2025 09:09:26 +0100 Subject: [PATCH] Fix comment --- sentry/minidump.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sentry/minidump.py b/sentry/minidump.py index 30a8670..bf5d95f 100644 --- a/sentry/minidump.py +++ b/sentry/minidump.py @@ -47,12 +47,13 @@ def merge_minidump_event(data, minidump_bytes): frame['in_app'] = True # minidumps don't distinguish in_app frames; assume all are in_app exception['stacktrace']['frames'].reverse() # "Frames should be sorted from oldest to newest." - # TODO we don't have display-info for threads yet, I think? - # we may need to revert the per-thread stacktraces above as well then if len(exception['stacktrace']['frames']) > 1 and exception['stacktrace']['frames'][-1].get('function'): exception["type"] = exception['stacktrace']['frames'][-1].get('function') + # TODO our UI doesn't actually display threads yet. + # Whether it does or not, we may need to revert the per-thread stacktraces above as well. + data.setdefault('exception', {}) \ .setdefault('values', []) \ .append(exception)