Skip to content

Commit

Permalink
fix: Ignore response status code (#7)
Browse files Browse the repository at this point in the history
Update logic.cs
  • Loading branch information
pasqualedevita authored Aug 10, 2022
1 parent 33108ce commit 4fa73fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void Run(string url)

var req = new HttpRequestMessage(HttpMethod.Get, url);
HttpResponseMessage response = client.Send(req);
response.EnsureSuccessStatusCode();
// response.EnsureSuccessStatusCode();

if (certExpiration < DateTime.Now.AddDays(options.ExpirationDeltaInDays))
{
Expand Down

0 comments on commit 4fa73fb

Please sign in to comment.