summaryrefslogtreecommitdiffstats
path: root/lib/Controller/LocalController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/LocalController.php')
-rw-r--r--lib/Controller/LocalController.php4
1 files changed, 3 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()
+ );
}
}
}