Closed joshuaflanagan closed 4 months ago
Totals | |
---|---|
Change from base Build 9714075367: | 0.9% |
Covered Lines: | 654 |
Relevant Lines: | 816 |
Totals | |
---|---|
Change from base Build 9714075367: | 1.3% |
Covered Lines: | 654 |
Relevant Lines: | 813 |
Totals | |
---|---|
Change from base Build 9714075367: | 2.3% |
Covered Lines: | 657 |
Relevant Lines: | 814 |
This will better handle the situation where the HTTP response body cannot be parsed as JSON. Instead of throwing a
JsonException
, we will throw aShipEngineException
containing theHttpResponseMessage
. This will give the caller a chance to handle the response in their own way.We will also try to include a request ID on all
ShipeEngineException
now - by pulling from the response header in cases where we don't get a ShipEngine Error JSON response.