mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix error not being thrown in IPS4 code
This commit is contained in:
parent
6491a1c3f4
commit
1a02adc43b
@ -126,7 +126,7 @@ namespace Wabbajack.Lib.Downloaders
|
||||
if (streamResult.StatusCode != HttpStatusCode.OK)
|
||||
{
|
||||
streamResult.Dispose();
|
||||
Utils.Error(new InvalidOperationException(), $"{downloader.SiteName} servers reported an error for file: {FileID}");
|
||||
Utils.ErrorThrow(new InvalidOperationException(), $"{downloader.SiteName} servers reported an error for file: {FileID}");
|
||||
}
|
||||
|
||||
var contentType = streamResult.Content.Headers.ContentType;
|
||||
|
Loading…
Reference in New Issue
Block a user