Display Apple server response in case of failure.
authorCarl Hetherington <cth@carlh.net>
Tue, 5 Jan 2021 13:22:41 +0000 (14:22 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Jan 2021 02:31:03 +0000 (03:31 +0100)
cdist

diff --git a/cdist b/cdist
index 3b873e42d0b421187ca504a6da1c0868caf71e36..bc11f4a0ae1c98d9150b168615ec7da5011a2a6b 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -747,6 +747,7 @@ def notarize_dmg(dmg, bundle_id):
 
     request_uuid = string_after(p, "RequestUUID")
     if request_uuid is None:
+        print("Response: %s" % p)
         raise Error('No RequestUUID found in response from Apple')
 
     for i in range(0, 30):