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

Demystify beforesend stacktraces #1587

Merged
merged 2 commits into from
Apr 23, 2022

Conversation

mattjohnsonpint
Copy link
Contributor

When an exception is thrown in a BeforeSend callback, we add it as a breadcrumb, including a stack trace. This PR makes sure that stack trace is demystified.

I found this because the test for it broke when adding a different test to the same test class. The test serializes the exception, including the stack trace, and verifies the exception matched the previous serialized version. I see in the git history that this has happened a few times before. This PR will also make the test less fragile.

@mattjohnsonpint mattjohnsonpint merged commit b4c5724 into main Apr 23, 2022
@mattjohnsonpint mattjohnsonpint deleted the demystify-beforesend-stacktraces branch April 23, 2022 01:33
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.

2 participants