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

Add error message to failed requests #1722

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

iwex
Copy link

@iwex iwex commented Mar 25, 2024

Sometimes we don't log useful info about an error.
In my case, it was hard to debug that {"detail":"envelope exceeded size limits for type 'event' (https://develop.sentry.dev/sdk/envelopes/#size-limits)"}

This PR will add an error message for some unsuccessful requests.

I can't find an API for possible response - https://develop.sentry.dev/sdk/envelopes/
So I guess we can just use general info about error.

Copy link
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

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

I think this is a good change, modified it a bit but looks good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants