log esult

This commit is contained in:
Damien Ostler 2024-02-15 01:17:26 -05:00
parent 202ee68e4b
commit dc43dbd701

View File

@ -29,7 +29,7 @@ namespace comissions.app.api.Services.Storage
if (!response.IsSuccessStatusCode) if (!response.IsSuccessStatusCode)
{ {
throw new Exception("Failed to upload image."); throw new Exception(response.Content.ReadAsStringAsync().Result);
} }
var responseContent = await response.Content.ReadAsStringAsync(); var responseContent = await response.Content.ReadAsStringAsync();