Page MenuHomePhabricator

Improve error handling in `arc install-certificate`
ClosedPublic

Authored by epriestley on Nov 27 2015, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 3, 9:57 AM
Unknown Object (File)
Mon, Apr 1, 10:33 AM
Unknown Object (File)
Mon, Apr 1, 3:41 AM
Unknown Object (File)
Sun, Mar 31, 3:42 AM
Unknown Object (File)
Thu, Mar 28, 4:54 PM
Unknown Object (File)
Thu, Mar 28, 1:40 PM
Unknown Object (File)
Mon, Mar 25, 2:17 PM
Unknown Object (File)
Mar 7 2024, 4:56 PM
Subscribers
None

Details

Summary

Fixes T9858. Reasonable typos and misunderstandings currently produce very confusing error messages.

Test Plan
$ arc install certificate
Usage Exception: Server URI "certificate" must include a protocol and domain. It should be in the form "https://phabricator.example.com/".
  • Also used a good URI.
  • Also used no URI.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve error handling in `arc install-certificate`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, joshuaspence.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 27 2015, 5:05 PM
This revision was automatically updated to reflect the committed changes.