-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem: If a response results in an error when being unmarshaled, the response is lost. This makes it impossible to differentiate a 200 response from a 400 response.
This code highlights the issue. If I receive an unmarshaling error, I don't know if the fault was mine or not.
Suggested fix: Wrap the err
with content
included, or use some structured error that contains more information about this issue.
I can work on this, but how to handle this case should be decided by more than just me.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request