diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py index 43969a7eb..a18e7a05c 100644 --- a/sphinx/builders/applehelp.py +++ b/sphinx/builders/applehelp.py @@ -213,7 +213,7 @@ class AppleHelpBuilder(StandaloneHTMLBuilder): except OSError: raise AppleHelpIndexerFailed(__('Command not found: %s') % args[0]) except CalledProcessError as exc: - raise AppleHelpCodeSigningFailed(exc.stdout) + raise AppleHelpIndexerFailed(exc.stdout) def do_codesign(self): # type: () -> None