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

Fixes StringIndexOutOfBoundsException in HttpConnection.doSend #145

Merged
merged 3 commits into from
Dec 17, 2015
Merged

Fixes StringIndexOutOfBoundsException in HttpConnection.doSend #145

merged 3 commits into from
Dec 17, 2015

Conversation

mdaniel
Copy link

@mdaniel mdaniel commented Jul 20, 2015

No description provided.

This also changes the if statement in `doSend` such that if the error message IS empty, that the empty string is replaced by the default message (which is more-or-less what the code attempted to do previously)
I'll open a separate PR to engage checkstyle during packaging, to avoid Travis CI bombs on unsuspecting contributors.
@dcramer
Copy link
Member

dcramer commented Jul 20, 2015

@ColinHebert let me know if you have a chance to look at this, otherwise lgtm

Thanks @mdaniel!

@ColinHebert
Copy link

@dcramer I'll take some time this week end to go through the issues/PRs

tkaemming pushed a commit that referenced this pull request Dec 17, 2015
Ensure empty response from upstream Sentry server doesn't cause `StringIndexOutOfBoundsException`.
@tkaemming tkaemming merged commit 6a36d4a into getsentry:master Dec 17, 2015
@tkaemming
Copy link

Thanks!

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.

4 participants