]> khamidou — GitHub mirrors - arcanist.git/commit
Improve error handling in `arc install-certificate`
authorepriestley <git@epriestley.com>
Fri, 27 Nov 2015 16:35:17 +0000 (08:35 -0800)
committerepriestley <git@epriestley.com>
Fri, 27 Nov 2015 17:05:50 +0000 (09:05 -0800)
commit4f1141d0c59be24268a45edb0cd25f1d27f31674
tree239caf651ef320a6a9125d671d4ee7f35582cac2
parenteeaa176cfc5a3ec711f6c683a47fd5ab528f3fe4
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
src/workflow/ArcanistInstallCertificateWorkflow.php