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

Refactor exception parsing logic and add exclusion for specific excep… #7718

Closed
wants to merge 1 commit into from

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Nov 24, 2023

This PR adds an exclusion for the exception type found in the latest core output. Specifically, it includes the word 'warning' in the list of exclusions.

  • Refactored the parse_last_core_output function to improve readability and maintainability.
  • Added a regular expression pattern _re_search_exception_exclusions to exclude specific exception types from being parsed.
  • Modified the parse_last_core_output function to skip parsing if an excluded exception type is found.

Fixes #7713

…tion types

- Refactored the `parse_last_core_output` function to improve readability and maintainability.
- Added a regular expression pattern `_re_search_exception_exclusions` to exclude specific exception types from being parsed.
- Modified the `parse_last_core_output` function to skip parsing if an excluded exception type is found.

This commit improves the code by making it more modular and flexible when handling exceptions.
@drew2a drew2a marked this pull request as ready for review November 24, 2023 11:33
@drew2a drew2a requested review from a team and xoriole and removed request for a team November 24, 2023 11:33
@drew2a
Copy link
Contributor Author

drew2a commented Nov 27, 2023

Given the numerous issues like this in the release branch, which are challenging for us to manage, I'm rebasing this PR into the release branch for easier tracking.

@drew2a drew2a closed this Nov 27, 2023
@drew2a drew2a deleted the fix/7713 branch November 27, 2023 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Sentry uses incorrect stacktrace for CoreCrashedError
1 participant