diff --git a/src/sentry/utils/sdk_crashes/sdk_crash_detector.py b/src/sentry/utils/sdk_crashes/sdk_crash_detector.py index e555a9179841ad..b64ae0d4a865b7 100644 --- a/src/sentry/utils/sdk_crashes/sdk_crash_detector.py +++ b/src/sentry/utils/sdk_crashes/sdk_crash_detector.py @@ -75,6 +75,8 @@ def is_sdk_crash(self, frames: Sequence[Mapping[str, Any]]) -> bool: # Cocoa SDK frames can be marked as in_app. Therefore, the algorithm only checks if frames # are SDK frames or from system libraries. for frame in reversed(frames): + if frame is None: + continue function = frame.get("function") if function: for matcher in self.config.sdk_crash_ignore_functions_matchers: