Skip to content

Raise an exception on socket error#279

Merged
richardpenman merged 2 commits intorichardpenman:masterfrom
iakov-kaiumov:socket-error
Apr 30, 2025
Merged

Raise an exception on socket error#279
richardpenman merged 2 commits intorichardpenman:masterfrom
iakov-kaiumov:socket-error

Conversation

@iakov-kaiumov
Copy link
Copy Markdown
Contributor

Added optional flag ignore_socket_errors: bool to the whois method that allows to modify default handling of socket errors. With ignore_socket_errors=False whois will raise a socket exception instead of returning empty WHOIS data #277 .

Default is ignore_socket_errors=True.

@rrr2rrr
Copy link
Copy Markdown

rrr2rrr commented Apr 29, 2025

+1

@richardpenman richardpenman merged commit dea8cf4 into richardpenman:master Apr 30, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

3 participants