mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.84k stars 273 forks source link

Improve error messages #533

Open rgoldberg opened 4 weeks ago

rgoldberg commented 4 weeks ago

Your Environment

Describe the Bug

When invalid arguments are supplied to mas commands, many output cryptic and/or uninformative errors.

Can either create a new issue for each output issue, or can just try all commands one day to find & fix all uninformative error message, and to standardized their outputs, whatever you want.

To Reproduce

Steps to reproduce the behavior:

  1. mas install 2143935391

Expected Behavior

An error like:

Unknown app ID: 2143935391

Actual Behavior

Error: Download request failed: The server gave an error during download: 500 Internal Server Error.

Screenshots, Terminal Output

See above

Additional Context