A ton of random bugs and polish (#3668)
This commit is contained in:
parent
b45d92ea5c
commit
de651215f5
144 changed files with 852 additions and 848 deletions
|
|
@ -13,7 +13,7 @@ public static class CronHelper
|
|||
CronExpression.Parse(cronExpression);
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
/* Swallow */
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ public static class FlurlConfiguration
|
|||
if (ConfiguredClients.Contains(host)) return;
|
||||
|
||||
FlurlHttp.ConfigureClientForUrl(url).ConfigureInnerHandler(cli =>
|
||||
#pragma warning disable S4830
|
||||
cli.ServerCertificateCustomValidationCallback = (_, _, _, _) => true);
|
||||
#pragma warning restore S4830
|
||||
|
||||
ConfiguredClients.Add(host);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue