Skip to content

Commit

Permalink
show more output when things go wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Nov 2, 2021
1 parent 44ff619 commit 43effaf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions App/Distribute/await_notarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ def getNotarizeInfo(requestUUID, user, passw):
"-p", passw,
"--output-format", "xml",
]

result = subprocess.run(infoCommand, check=True, capture_output=True)
try:
result = subprocess.run(infoCommand, check=True, capture_output=True)
except subprocess.CalledProcessError as error:
print("STDOUT", error.stdout)
print("STDERR", error.stderr)
raise
return plistlib.loads(result.stdout)


Expand Down

0 comments on commit 43effaf

Please sign in to comment.