This commit is contained in:
@@ -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) };
|
||||
|
||||
Reference in New Issue
Block a user