diff options
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/LocalController.php | 4 | ||||
-rw-r--r-- | lib/Controller/NavigationController.php | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php index 8ba30850..0d2a8ca9 100644 --- a/lib/Controller/LocalController.php +++ b/lib/Controller/LocalController.php @@ -804,7 +804,9 @@ class LocalController extends Controller { $this->cacheActorService->setViewer($this->viewer); } catch (Exception $e) { if ($exception) { - throw new AccountDoesNotExistException(); + throw new AccountDoesNotExistException( + 'unable to initViewer - ' . get_class($e) . ' - ' . $e->getMessage() + ); } } } diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php index 1bb8a941..c4438e5a 100644 --- a/lib/Controller/NavigationController.php +++ b/lib/Controller/NavigationController.php @@ -165,6 +165,12 @@ class NavigationController extends Controller { } } + try { + $this->configService->getSocialUrl(); + } catch (SocialAppConfigException $e) { + $this->configService->setSocialUrl(''); + } + if ($data['serverData']['isAdmin']) { $checks = $this->checkService->checkDefault(); $data['serverData']['checks'] = $checks; |