Skip to content

Commit

Permalink
Catch and log
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasNilson committed Aug 28, 2022
1 parent 5993e62 commit 69e3257
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/IdleMasterExtended/CookieClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Net;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
Expand Down Expand Up @@ -46,9 +47,9 @@ protected override WebResponse GetWebResponse(WebRequest request, System.IAsyncR
this.ResponseUri = baseResponse.ResponseUri;
return baseResponse;
}
catch (Exception)
catch (Exception ex)
{

Logger.Exception(ex, "CookieClient -> WebResponse = " + base.GetWebResponse(request));
}
return null;
}
Expand Down

0 comments on commit 69e3257

Please sign in to comment.