Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Marshal the response body into HttpServiceError #137

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

mdedetrich
Copy link
Collaborator

In the #133 PR we fixed a regression which was introduced due to Nakadi not properly following the Problem spec (see #134).

Unfortunately in that PR we also lose any context of the response because HttpServiceError didn't contain the response body and we had to discard the response body due to the streaming nature of akka-streams.

This PR fixes this.

@mdedetrich mdedetrich force-pushed the marshal-body-into-http-service-error branch from cde5876 to 86975de Compare April 7, 2020 13:43
Copy link
Collaborator

@itachi3 itachi3 left a comment

Choose a reason for hiding this comment

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

👍

@mdedetrich mdedetrich merged commit c99b26b into master Apr 7, 2020
@mdedetrich mdedetrich deleted the marshal-body-into-http-service-error branch April 7, 2020 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants