Skip to content

Commit 2a6f451

Browse files
authored
fix: Add null-handling for debug meta (#5804)
1 parent bd106b9 commit 2a6f451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Sentry/SentryMetricKitIntegration.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ - (SentryStacktrace *)convertMXFramesToSentryStacktrace:(NSEnumerator<SentryMXFr
509509
uint64_t imageAddress = mxFrame.address - mxFrame.offsetIntoBinaryTextSegment;
510510
debugMeta.imageAddress = sentry_formatHexAddressUInt64(imageAddress);
511511

512-
debugMetas[debugMeta.debugID] = debugMeta;
512+
debugMetas[binaryUUID] = debugMeta;
513513
}
514514

515515
return [debugMetas allValues];

0 commit comments

Comments
 (0)