X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=blobdiff_plain;f=src%2Fddns%2Fsystem.py;fp=src%2Fddns%2Fsystem.py;h=6a21af85395af68ac149b545d7f8009e5a3cd713;hp=8415579455763369a0a9ac844841ab2ee1f39945;hb=5d98b00335d8c016c19c884e51c0a48aee2e1692;hpb=78694cf1ecac743ce862793e4b821fac379f7a94 diff --git a/src/ddns/system.py b/src/ddns/system.py index 8415579..6a21af8 100644 --- a/src/ddns/system.py +++ b/src/ddns/system.py @@ -211,6 +211,10 @@ class DDNSSystem(object): elif e.reason.errno == 111: raise DDNSConnectionRefusedError + # No route to host + elif e.reason.errno == 113: + raise DDNSNoRouteToHostError(req.host) + # Raise all other unhandled exceptions. raise