Skip to content
New issue

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

Properly handle ErrEmptyClientUnsupportedGet in optimizingClient #10

Open
rvagg opened this issue Feb 4, 2025 · 0 comments
Open

Properly handle ErrEmptyClientUnsupportedGet in optimizingClient #10

rvagg opened this issue Feb 4, 2025 · 0 comments

Comments

@rvagg
Copy link

rvagg commented Feb 4, 2025

To avoid unwanted logs when you don't need to supply a client and use EmptyClientWithInfo but want drand otherwise setup:

2025-02-04T16:29:52.276+1100    INFO    drand   client/optimizing.go:194                {"optimizing_client": "endpoint down when speed tested", "client": "EmptyClient.(+verifier)", "err": "not supported"}
2025-02-04T16:29:52.276+1100    INFO    drand   client/optimizing.go:194                {"optimizing_client": "endpoint down when speed tested", "client": "EmptyClient.(+verifier)", "err": "not supported"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant