This commit is contained in:
2020-04-28 19:31:31 +00:00
parent 22b6942691
commit 5cc547c1b3
2 changed files with 6 additions and 5 deletions

View File

@@ -152,7 +152,7 @@ namespace AyaNova.PlugIn.V8
var responseAsString = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
{
throw new Exception(responseAsString + "\n" + response.ReasonPhrase);
throw new Exception("POST error, route: " + route + "\n" + responseAsString + "\n" + response.ReasonPhrase);
}
return new ApiResponse() { HttpResponse = response, ObjectResponse = Parse(responseAsString) };