dyndns: Show unhandled server responses in exception.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Jun 2014 11:15:55 +0000 (11:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Jun 2014 11:15:55 +0000 (11:15 +0000)
src/ddns/providers.py

index e9df89f..5d63506 100644 (file)
@@ -406,7 +406,7 @@ class DDNSProviderDynDNS(DDNSProvider):
                        raise DDNSInternalServerError(_("DNS error encountered."))
 
                # If we got here, some other update error happened.
-               raise DDNSUpdateError
+               raise DDNSUpdateError(_("Server response: %s") % output)
 
 
 class DDNSProviderDynU(DDNSProviderDynDNS):