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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE while adding "response_body_size" breadcrumb #1884

Merged
merged 5 commits into from
Jan 28, 2022
Merged

Fix NPE while adding "response_body_size" breadcrumb #1884

merged 5 commits into from
Jan 28, 2022

Conversation

neseleznev
Copy link
Contributor

When response body is null, set size to 0
in a same fashion "request_body_size" is set.
Add test.
Add note to the changelog

Closes #1883 , see description there

馃挌 How did you test it?

I wrote a test.
Had no time to build the project and run the tests locally, TBH

馃摑 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

When response body is null, set size to 0
in a same fashion "request_body_size" is set.
Add test.
Add note to the changelog
@neseleznev
Copy link
Contributor Author

Fixed the code style with force push

CHANGELOG.md Outdated Show resolved Hide resolved
@marandaneto
Copy link
Contributor

thanks for doing that @neseleznev

@marandaneto
Copy link
Contributor

Fixed the code style with force push

still fails, run make format

@marandaneto marandaneto merged commit 32e4b10 into getsentry:main Jan 28, 2022
@neseleznev neseleznev deleted the fix/1883_NPE_in_SentryFeignClient branch February 2, 2022 10:08
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.

NullPointerException in SentryFeignClient NPE
3 participants