1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +01:00

Conduit - document that ERR-CONDUIT-CORE is coming atchya

Summary: Fixes T6863. Seems like this belongs there?

Test Plan: loaded up an API in conduit console and saw the new error text

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6863

Differential Revision: https://secure.phabricator.com/D11261
This commit is contained in:
Bob Trahan 2015-01-06 14:41:28 -08:00
parent ae0a214574
commit 6de8fe418c

View file

@ -49,7 +49,7 @@ final class PhabricatorConduitConsoleController
} }
$error_types = $method->defineErrorTypes(); $error_types = $method->defineErrorTypes();
if ($error_types) { $error_types['ERR-CONDUIT-CORE'] = pht('See error message for details.');
$error_description = array(); $error_description = array();
foreach ($error_types as $error => $meaning) { foreach ($error_types as $error => $meaning) {
$error_description[] = hsprintf( $error_description[] = hsprintf(
@ -58,10 +58,6 @@ final class PhabricatorConduitConsoleController
$meaning); $meaning);
} }
$error_description = phutil_tag('ul', array(), $error_description); $error_description = phutil_tag('ul', array(), $error_description);
} else {
$error_description = pht(
'This method does not raise any specific errors.');
}
$form = new AphrontFormView(); $form = new AphrontFormView();
$form $form