Page MenuHomePhabricator

Improve error handling in `arc install-certificate`
ClosedPublic

Authored by epriestley on Nov 27 2015, 4:37 PM.
Tags
None
Referenced Files
F19304488: D14577.diff
Wed, Dec 24, 12:01 PM
F18768128: D14577.id35270.diff
Oct 8 2025, 1:52 AM
F18764053: D14577.id.diff
Oct 7 2025, 3:54 AM
F18751904: D14577.id35269.diff
Oct 4 2025, 1:12 PM
F18736972: D14577.id.diff
Oct 1 2025, 8:28 AM
F18736178: D14577.id.diff
Oct 1 2025, 5:05 AM
F18712884: D14577.id.diff
Sep 29 2025, 5:33 AM
F18685707: D14577.diff
Sep 26 2025, 11:37 AM
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.