mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
More debug output for upload failures
This commit is contained in:
parent
07c35f7a96
commit
615f059bd5
@ -106,7 +106,12 @@ namespace Wabbajack.Lib.FileUploader
|
|||||||
if (finalResponse.IsSuccessStatusCode)
|
if (finalResponse.IsSuccessStatusCode)
|
||||||
tcs.SetResult(await finalResponse.Content.ReadAsStringAsync());
|
tcs.SetResult(await finalResponse.Content.ReadAsStringAsync());
|
||||||
else
|
else
|
||||||
tcs.SetException(new Exception($"Finalization Error: {finalResponse.StatusCode} {finalResponse.ReasonPhrase}"));
|
{
|
||||||
|
Utils.Log("Finalization Error: ");
|
||||||
|
Utils.Log(await finalResponse.Content.ReadAsStringAsync());
|
||||||
|
tcs.SetException(new Exception(
|
||||||
|
$"Finalization Error: {finalResponse.StatusCode} {finalResponse.ReasonPhrase}"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
progressFn(0.0);
|
progressFn(0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user