Skip to content
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

🤖 Handle None Exception Values in Error Event Entries #911

Conversation

sentry-autofix-experimental[bot]
Copy link
Contributor

👋 Hi there! This PR was automatically generated by Autofix 🤖

This fix was triggered by Jenn Mueng

Fixes SEER-7X

This update introduces a change in the src/seer/automation/models.py file to handle cases where the value of an exception in error event entries is None. Specifically, within the loop that processes exceptions, a check is added to set the value to an empty string if it is None. This ensures that the ExceptionDetails.model_validate method receives a non-null value, potentially preventing errors or unexpected behavior during validation.

If you have any questions or feedback for the Sentry team about this fix, please email autofix@sentry.io with the Run ID (see below).

🤓 Stats for the nerds:

Run ID: 433
Prompt tokens: 28929
Completion tokens: 3356
Total tokens: 32285

…id string before passing it to `ExceptionDetails.model_validate`.
@jennmueng jennmueng closed this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant