mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Fix exception for new error stuff in Conduit
Summary: This might be `null`. Test Plan: Loaded, got exception, applied patch, no exception. Viewed a method with an actual message too, that also worked. Reviewers: chad, btrahan Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D7955
This commit is contained in:
parent
8a7429b879
commit
3fc807bed1
1 changed files with 4 additions and 1 deletions
|
@ -112,9 +112,12 @@ final class PhabricatorConduitConsoleController
|
|||
|
||||
$form_box = id(new PHUIObjectBoxView())
|
||||
->setHeaderText($method->getAPIMethodName())
|
||||
->setErrorView($status_view)
|
||||
->setForm($form);
|
||||
|
||||
if ($status_view) {
|
||||
$form_box->setErrorView($status_view);
|
||||
}
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb($method->getAPIMethodName());
|
||||
|
||||
|
|
Loading…
Reference in a new issue