more error information
authorRalf Jung <post@ralfj.de>
Wed, 22 Nov 2017 20:36:58 +0000 (21:36 +0100)
committerRalf Jung <post@ralfj.de>
Wed, 22 Nov 2017 20:36:58 +0000 (21:36 +0100)
client-scripts/dyn-ns-client

index 93b977ff57b193c249972c010804a2be5197b07e..774c5103950bd89114a3978eaafafd1de9f1b232 100755 (executable)
@@ -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)
     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__":
         return False
 
 if __name__ == "__main__":