You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2020. It is now read-only.
...
} catch (AggregateException ex) when (ex.InnerException is CloudFlareClearanceException) {
// After all retries, clearance still failed.
Console.WriteLine( ex.Message );
} catch (AggregateException ex) when (ex.InnerException is TaskCanceledException) {
// Looks like we ran into a timeout. Too many clearance attempts?
Console.WriteLine( ex.Message );
// Maybe you should increase client.Timeout as each attempt will take about five seconds.
} catch (Exception ex) {
Console.WriteLine( ex.Message );
}
...
The code of the example was used, and it continues giving error and was necessary to add a generic exception to capture the same.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The code of the example was used, and it continues giving error and was necessary to add a generic exception to capture the same.
The text was updated successfully, but these errors were encountered: