mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
log esult
This commit is contained in:
parent
202ee68e4b
commit
dc43dbd701
@ -29,7 +29,7 @@ namespace comissions.app.api.Services.Storage
|
||||
|
||||
if (!response.IsSuccessStatusCode)
|
||||
{
|
||||
throw new Exception("Failed to upload image.");
|
||||
throw new Exception(response.Content.ReadAsStringAsync().Result);
|
||||
}
|
||||
|
||||
var responseContent = await response.Content.ReadAsStringAsync();
|
||||
|
Loading…
x
Reference in New Issue
Block a user