-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 http
breadcrumb level based on response code
#11083
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
- `warning` - response status code 4XX | ||
- `error` - response status code 5XX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not totally sold on 4xx being a warning. 4xx is equally as bad from the client perspective as 5xx. (if not worse, because you are actually on the client)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just pending whether 4xx should be considered warning or error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in-line with https://develop.sentry.dev/sdk/features/#http-client-errors, if you feel strongly about this, we can make this configurable in certain SDKs. |
@cleptric you're probably right, we can do warnings |
See getsentry/team-sdks#100