Page MenuHomePhabricator

Improve error handling in `arc install-certificate`
ClosedPublic

Authored by epriestley on Nov 27 2015, 4:37 PM.
Tags
None
Referenced Files
F14095636: D14577.diff
Mon, Nov 25, 10:42 PM
Unknown Object (File)
Fri, Nov 15, 4:07 AM
Unknown Object (File)
Mon, Nov 11, 6:15 AM
Unknown Object (File)
Sat, Nov 9, 10:47 AM
Unknown Object (File)
Sat, Nov 9, 10:47 AM
Unknown Object (File)
Sat, Nov 9, 10:47 AM
Unknown Object (File)
Fri, Nov 8, 8:50 PM
Unknown Object (File)
Fri, Nov 8, 8:50 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.