Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15423218
D11261.id27050.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11261.id27050.diff
View Options
diff --git a/src/applications/conduit/controller/PhabricatorConduitConsoleController.php b/src/applications/conduit/controller/PhabricatorConduitConsoleController.php
--- a/src/applications/conduit/controller/PhabricatorConduitConsoleController.php
+++ b/src/applications/conduit/controller/PhabricatorConduitConsoleController.php
@@ -49,19 +49,15 @@
}
$error_types = $method->defineErrorTypes();
- if ($error_types) {
- $error_description = array();
- foreach ($error_types as $error => $meaning) {
- $error_description[] = hsprintf(
- '<li><strong>%s:</strong> %s</li>',
- $error,
- $meaning);
- }
- $error_description = phutil_tag('ul', array(), $error_description);
- } else {
- $error_description = pht(
- 'This method does not raise any specific errors.');
+ $error_types['ERR-CONDUIT-CORE'] = pht('See error message for details.');
+ $error_description = array();
+ foreach ($error_types as $error => $meaning) {
+ $error_description[] = hsprintf(
+ '<li><strong>%s:</strong> %s</li>',
+ $error,
+ $meaning);
}
+ $error_description = phutil_tag('ul', array(), $error_description);
$form = new AphrontFormView();
$form
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 2:02 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7658882
Default Alt Text
D11261.id27050.diff (1 KB)
Attached To
Mode
D11261: Conduit - document that ERR-CONDUIT-CORE is coming atchya
Attached
Detach File
Event Timeline
Log In to Comment