Skip to content

How to process DNS lookup or client connection errors? #5179

Answered by webknjaz
Rozendantz asked this question in Q&A
Discussion options

You must be logged in to vote

Just use try/except to process aiohttp.ClientConnectionError per https://docs.aiohttp.org/en/stable/client_reference.html#connection-errors and that's it.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Rozendantz
Comment options

@Rozendantz
Comment options

@webknjaz
Comment options

@Rozendantz
Comment options

@webknjaz
Comment options

Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5179 on October 30, 2020 11:15.