Page MenuHomePhabricator

Improve error handling in `arc install-certificate`
ClosedPublic

Authored by epriestley on Nov 27 2015, 4:37 PM.
Tags
None
Referenced Files
F13080295: D14577.diff
Wed, Apr 24, 6:26 AM
Unknown Object (File)
Fri, Apr 19, 3:52 PM
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
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
Branch
icert
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9078
Build 10689: Run Core Tests
Build 10688: arc lint + arc unit

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.