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

fix: remove events when 200, no need to check response #572

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

liuyang1520
Copy link
Contributor

Summary

  • fix: remove events when 200, no need to check response

User might use the SDK to send events to their proxy server, we should only rely on the 200 status code, not the response content for removing successfully sent events. Otherwise, the same event might get sent to the ingestion host again and again.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@liuyang1520 liuyang1520 merged commit 5b52d16 into main Jan 18, 2023
@liuyang1520 liuyang1520 deleted the remove-events-when-200 branch January 18, 2023 00:43
github-actions bot pushed a commit that referenced this pull request Jan 18, 2023
## [8.21.4](v8.21.3...v8.21.4) (2023-01-18)

### Bug Fixes

* remove events when 200, no need to check response ([#572](#572)) ([5b52d16](5b52d16))
* upgrade dependencies to resolve dependabot vulnerability alerts ([#567](#567)) ([9207b46](9207b46))
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

3 participants