mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: ensure success status code on plugin download
This commit is contained in:
parent
76cefe366d
commit
0c52f8099e
1 changed files with 1 additions and 0 deletions
|
|
@ -410,6 +410,7 @@ namespace Dalamud.Plugin.Internal
|
|||
|
||||
using var client = new HttpClient();
|
||||
var response = await client.GetAsync(downloadUrl);
|
||||
response.EnsureSuccessStatusCode();
|
||||
|
||||
Log.Debug($"Extracting to {outputDir}");
|
||||
// This throws an error, even with overwrite=false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue