diff --git a/Source/IdleMasterExtended/CookieClient.cs b/Source/IdleMasterExtended/CookieClient.cs index 162f139..5319cb5 100644 --- a/Source/IdleMasterExtended/CookieClient.cs +++ b/Source/IdleMasterExtended/CookieClient.cs @@ -1,5 +1,6 @@ using System; using System.Net; +using System.Security.Policy; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; @@ -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; }