We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.111.0
NA
time="2024-03-13T18:13:38Z" level=error msg="received internal server error response (HTTP 500), please try again later"
time="2024-03-13T18:13:38Z" level=fatal msg="received internal server error response (HTTP 500), please try again later" Stream closed EOF for external-dns/external-dns-cloudflare-205ef5f2-6977ccb67d-kh76q (external-dns)
We want to have a simple method to identify the error type
zonesResponse, err := p.Client.ListZonesContext(ctx) if err != nil { var apiErr *cloudflare.Error if errors.As(err, &apiErr) { if apiErr.ServerErrored(err) { // Pass any 5XX errors as SoftError return nil, provider.NewSoftError(err) } } return nil, err }
We see few fatal errors when we use Cloudflare as the provider with External-DNS
kubernetes-sigs/external-dns#4315
The text was updated successfully, but these errors were encountered:
this already exists today; see https://github.com/cloudflare/cloudflare-go/blob/master/cloudflare.go#L294-L302 and https://github.com/cloudflare/cloudflare-go/blob/master/errors.go#L212-L252.
Sorry, something went wrong.
No branches or pull requests
Confirmation
cloudflare-go version
0.111.0
Go environment
NA
Expected output
Actual output
Code demonstrating the issue
We want to have a simple method to identify the error type
Steps to reproduce
NA
References
We see few fatal errors when we use Cloudflare as the provider with External-DNS
kubernetes-sigs/external-dns#4315
The text was updated successfully, but these errors were encountered: