notarize icon indicating copy to clipboard operation
notarize copied to clipboard

Forward errors to stderr so users can debug issues

Open phoebejaffe opened this issue 6 years ago • 2 comments

I got the error Failure! Error: Failed to check status of notarization request: ...

Running the xcrun altool --notarization-info ... command manually, I saw this error: Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

Perhaps this tool could be better about either forwarding the error to stdout, or handling this error specifically, since in my case at least, there's a clear action the user needs to take, and I couldn't have known without reading the source of electron-notarize to track down the error manually..

phoebejaffe avatar Nov 01 '19 20:11 phoebejaffe

#14

ghost avatar Nov 02 '19 14:11 ghost

I don't think #14 actually addresses this. This issue is about the user not having signed the necessary agreements in XCode, and not swallowing that error.

phoebejaffe avatar Nov 02 '19 16:11 phoebejaffe

DEBUG=electron-notarize* will display stderr output

MarshallOfSound avatar Jun 25 '23 05:06 MarshallOfSound