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 event capture edge cases #3755

Merged
merged 2 commits into from Mar 26, 2021
Merged

Handle event capture edge cases #3755

merged 2 commits into from Mar 26, 2021

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Mar 25, 2021

Changes

New $snapshot chunking logic introduced additional places for KeyErrors to occur, and previously they weren't handled.

Checklist

  • Django backend tests

@Twixes Twixes requested a review from macobo March 25, 2021 21:12
@sentry-io
Copy link

sentry-io bot commented Mar 25, 2021

Sentry issue: POSTHOG-2JT

@timgl timgl temporarily deployed to posthog-pr-3755 March 25, 2021 21:20 Inactive
@mariusandra
Copy link
Collaborator

LGTM, though just to know, when do we have the case that a $snapshot comes in without $snapshot_data?

@Twixes Twixes temporarily deployed to posthog-pr-3755 March 26, 2021 12:09 Inactive
@Twixes
Copy link
Collaborator Author

Twixes commented Mar 26, 2021

We should not have such a case, but 💩 happens, or some user may try something weird.

@Twixes Twixes merged commit 728b001 into master Mar 26, 2021
@Twixes Twixes deleted the capture-edge-cases branch March 26, 2021 12:21
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.

None yet

4 participants