Skip to content

Commit 54a16b6

Browse files
committed
Invalid error response fixes
1 parent 1451186 commit 54a16b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Podio .NET/Podio.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ internal async Task<T> Get<T>(string url, Dictionary<string, string> requestData
195195
{
196196
throw new PodioInvalidJsonException((int)response.StatusCode, new PodioError
197197
{
198-
Error = "Invalid json string",
198+
Error = "Error response is not a valid Json string.",
199199
ErrorDescription = ex.ToString(),
200200
ErrorDetail = responseBody
201201
});

0 commit comments

Comments
 (0)