Improve handling of ConnectionError
- Feb 05, 2025
-
-
Nicki Křížek authored
Unfortunately, the mypy check has been rotting for years now. Let's not pretend like this check is maintained and remove the associated code.
-
Nicki Křížek authored
-
Nicki Křížek authored
-
Nicki Křížek authored
This entire commit is just the result of running `black` formatter on the python files - no manual changes were made.
-
- Jan 29, 2025
-
-
Nicki Křížek authored
In a ConnectionError happens, try and capture the information for which resolver it occurred. While it may be just a regular one-off network blip, it may also indicate a failure mode in one of the target resolvers. That is especially true if the same connection error happens repeatedly for a single resolver. Prior to this change, the information about the resolver was lacking. This made it hard to assess whether the connection errors were caused by some network issue, or if it's likely that one of the target resolver is at fault.
-