Home GnuPG

Improve error handling in `arc install-certificate`
4f1141d0c59bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Improve error handling in arc install-certificate

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.

Reviewers: joshuaspence, chad

Reviewed By: chad

Maniphest Tasks: T9858

Differential Revision: https://secure.phabricator.com/D14577

Details

Event Timeline

epriestley <git@epriestley.com> committed rARC4f1141d0c59b: Improve error handling in `arc install-certificate` (authored by epriestley <git@epriestley.com>).Nov 27 2015, 6:05 PM