Skip to content

🤖 Handle NoneType frames in SDK crash detector #69685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

seer-by-sentry[bot]
Copy link
Contributor

👋 Hi there! This PR was automatically generated 🤖

Triggered by Jenn Mueng

Fixes SENTRY-38AJ

This update introduces a check in the SDK crash detection logic to handle cases where a frame might be None. Specifically, before processing the function attribute of a frame, the modified code now checks if the frame is None and continues to the next iteration if true. This prevents potential errors from attempting to access attributes of a NoneType object in the crash detection process.

📣 Instructions for the reviewer which is you, yes you:

  • If these changes were incorrect, please close this PR and comment explaining why.
  • If these changes were incomplete, please continue working on this PR then merge it.
  • If you are feeling confident in my changes, please merge this PR.

This will greatly help us improve the autofix system. Thank you! 🙏

If there are any questions, please reach out to the AI/ML Team on #proj-autofix

🤓 Stats for the nerds:

Prompt tokens: 43174
Completion tokens: 1775
Total tokens: 44949

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 25, 2024
@jennmueng jennmueng added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label Apr 25, 2024
@getsantry
Copy link
Contributor

getsantry bot commented May 17, 2024

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label May 17, 2024
@getsantry getsantry bot closed this May 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components Stale Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant