Dump xcrun output when we don't parse it.
authorCarl Hetherington <cth@carlh.net>
Mon, 30 Nov 2020 15:18:20 +0000 (16:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 30 Nov 2020 15:18:20 +0000 (16:18 +0100)
cdist

diff --git a/cdist b/cdist
index 0aa4fd2d9587fae1832c81571f4aff1b4796f6e2..7a5748bf9d9d83c7a2cbd5816ecccbb84bc6b12a 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -755,6 +755,9 @@ def notarize(dmg, bundle_id):
         elif status == 'success':
             subprocess.run(['xcrun', 'stapler', 'staple', dmg])
             return
+        else:
+            print("Could not understand xcrun response")
+            print(p)
         time.sleep(30)
 
     raise Error("Notarization timed out")