mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
ignore broken headers
This commit is contained in:
parent
1004177050
commit
2fe0777690
@ -142,7 +142,7 @@ namespace Wabbajack.NexusApi
|
||||
dailyRemaining = int.Parse(response.Headers.GetValues("x-rl-daily-remaining").First());
|
||||
hourlyRemaining = int.Parse(response.Headers.GetValues("x-rl-hourly-remaining").First());
|
||||
}
|
||||
catch (InvalidDataException)
|
||||
catch (Exception)
|
||||
{
|
||||
Utils.Log("Couldn't find x-rl-*-remaining headers in Nexus response. Ignoring");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user