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

Can I view the reason why the connection is "false" ? #97

Open
schikimikiviki opened this issue Jun 19, 2024 · 1 comment
Open

Can I view the reason why the connection is "false" ? #97

schikimikiviki opened this issue Jun 19, 2024 · 1 comment

Comments

@schikimikiviki
Copy link

In nodejs, for example, there can be many reasons: https://nodejs.org/api/dns.html#error-codes

@sindresorhus
Copy link
Owner

This package returns a boolean, and I don't plan to make the result itself anymore detailed. However, I do agree it could be useful for diagnostic purposes, so maybe we could log some more details using Diagnostics Channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants