summaryrefslogtreecommitdiffstats
path: root/lib/Service/CacheActorService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/CacheActorService.php')
-rw-r--r--lib/Service/CacheActorService.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Service/CacheActorService.php b/lib/Service/CacheActorService.php
index d900741c..2aed18e6 100644
--- a/lib/Service/CacheActorService.php
+++ b/lib/Service/CacheActorService.php
@@ -144,7 +144,9 @@ class CacheActorService {
}
if ($id !== $actor->getId()) {
- throw new InvalidOriginException();
+ throw new InvalidOriginException(
+ 'CacheActorService::getFromId - id: ' . $id . ' - actorId: ' . $actor->getId()
+ );
}
$actor->setAccount($actor->getPreferredUsername() . '@' . $this->get('_host', $object));
@@ -227,8 +229,8 @@ class CacheActorService {
/**
- * @throws Exception
* @return int
+ * @throws Exception
*/
public function missingCacheRemoteActors(): int {
// TODO - looking for missing cache remote actors...
@@ -246,8 +248,8 @@ class CacheActorService {
/**
- * @throws Exception
* @return int
+ * @throws Exception
*/
public function manageCacheRemoteActors(): int {
$update = $this->cacheActorsRequest->getRemoteActorsToUpdate();