mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Improve error message printed in SEV
Summary: D3542 caused a SEV for us. Make it better for future. Test Plan: SEV Reviewers: btrahan, epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3614
This commit is contained in:
parent
7e7a029481
commit
12df076157
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ abstract class AphrontApplicationConfiguration {
|
||||||
$blogs = id(new PhameBlogQuery())->withDomain($host)->execute();
|
$blogs = id(new PhameBlogQuery())->withDomain($host)->execute();
|
||||||
$blog = reset($blogs);
|
$blog = reset($blogs);
|
||||||
if (!$blog) {
|
if (!$blog) {
|
||||||
if ($prod_uri) {
|
if ($prod_uri && $prod_uri != $base_uri) {
|
||||||
$prod_str = ' or '.$prod_uri;
|
$prod_str = ' or '.$prod_uri;
|
||||||
} else {
|
} else {
|
||||||
$prod_str = '';
|
$prod_str = '';
|
||||||
|
|
Loading…
Reference in a new issue