[backend/federation] Improve error logging for invalid accept activities
This commit is contained in:
parent
1e650d8649
commit
0c39101046
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ public class ActivityHandlerService(
|
||||||
if (await db.Followings.AnyAsync(p => p.Followee == actor && p.FollowerId == ids[0]))
|
if (await db.Followings.AnyAsync(p => p.Followee == actor && p.FollowerId == ids[0]))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
throw GracefulException.UnprocessableEntity($"No follow request matching follower '{ids[0]}'" +
|
throw GracefulException.UnprocessableEntity($"No follow or follow request matching follower '{ids[0]}'" +
|
||||||
$"and followee '{actor.Id}' found");
|
$"and followee '{actor.Id}' found");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue