Skip to content

ref(core): Actually ensure attachments are added to the envelope #5159

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

Merged
merged 1 commit into from
May 25, 2022

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented May 24, 2022

I made a mistake and didn't reassign the envelope as items were added to it. The result is that attachments were never added!

This PR fixes the mistake and adds a test that ensures that the attachment actually makes it into the raw envelope.

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks for fixing it!

@timfish timfish force-pushed the fix/attachments-api branch from e0ae896 to f7ea38c Compare May 24, 2022 13:26
@Lms24 Lms24 merged commit 7b9747f into getsentry:7.x May 25, 2022
AbhiPrasad pushed a commit that referenced this pull request May 30, 2022
This patch fixes a bug where attachments were previously not added to the envelope that would be sent to Sentry. Additionally, it adds a test that ensures that the attachments actually make it into the raw envelope.
@AbhiPrasad AbhiPrasad mentioned this pull request May 30, 2022
@AbhiPrasad AbhiPrasad added this to the 7.0.0 milestone May 30, 2022
@timfish timfish deleted the fix/attachments-api branch September 27, 2022 12:31
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.

3 participants