From: Ralf Jung Date: Wed, 22 Nov 2017 20:36:58 +0000 (+0100) Subject: more error information X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/commitdiff_plain/15e3ef61f4f9e8a514c38e6ad68d4d61e0b728d8?hp=32be553e5075e9744e0f0793e8a09a205b2dc1c0 more error information --- diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client index 93b977f..774c510 100755 --- a/client-scripts/dyn-ns-client +++ b/client-scripts/dyn-ns-client @@ -167,7 +167,7 @@ def updateDomain(server, domain, ipv4, ipv6, password, config, verbose): else: # Something went wrong print("Unexpected answer from server",server,"while updating",domain) - print(result) + print("Got '{}', expected '{}'".format(result, expected)) return False if __name__ == "__main__":