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)
Sat, Feb 8, 11:53 PM
Unknown Object (File)
Sat, Feb 8, 11:53 PM
Unknown Object (File)
Sat, Feb 8, 11:53 PM
Unknown Object (File)
Sat, Feb 8, 11:53 PM
Unknown Object (File)
Mon, Feb 3, 2:58 PM
Unknown Object (File)
Thu, Jan 30, 4:50 AM
Unknown Object (File)
Wed, Jan 29, 10:41 PM
Unknown Object (File)
Wed, Jan 29, 10:41 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.