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

switches to a more human-readable error message for #4816 #6113

Merged
merged 2 commits into from
Sep 27, 2021

Conversation

pauldambra
Copy link
Member

Changes

In some instances of Sentry Issue POSTHOG-2PA we receive the error Failed to decompress data. Not a gzipped file (b'un') on receiving the string "undefined" as the request body

This provides a clearer error message in case it is not possible to avoid this error

Checklist

  • Django backend tests

@pauldambra
Copy link
Member Author

doesn't help with the source of the issue but should help track different triggers separately...

@timgl timgl temporarily deployed to posthog-pr-6113 September 27, 2021 11:10 Inactive
Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

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

Looks good to me, but not to the unit tests...

@timgl timgl temporarily deployed to posthog-pr-6113 September 27, 2021 11:59 Inactive
@pauldambra
Copy link
Member Author

Ha, that's what I get for rushing to push before lunch 🙄

@pauldambra pauldambra merged commit b913095 into master Sep 27, 2021
@pauldambra pauldambra deleted the clearer-error-#4816 branch September 27, 2021 12:13
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