Skip to content

Commit

Permalink
Tweak the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 authored May 22, 2024
1 parent 6709c86 commit 41985d0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/briefcase/platforms/macOS/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,18 @@ def notarize(self, filename, team_id):
store_credentials = True
else:
raise BriefcaseCommandError(
f"""Unable to submit {filename.relative_to(self.base_path)} for notarization.
To examine this failure use `xcrun notarytool history` to find the submission-id,
then use `xcrun notarytool log <submission-id>` for a log of the error.
"""
f"""\
Unable to submit {filename.relative_to(self.base_path)} for notarization.
To find the cause of this failure, get the submission ID by running:
xcrun notarytool history
Then run:
xcrun notarytool log <submission-id>
to generate a full log of the error.
"""
) from e
finally:
# Clean up house; we don't need the archive anymore.
Expand Down

0 comments on commit 41985d0

Please sign in to comment.