diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index c7c65350ef..ddc5790111 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -236,7 +236,9 @@ func RepositoryInbox(ctx *context.APIContext) { if len(users) == 0 { person, err := getPersonByRest(remoteStargazer, starReceiver, ctx) - + if err != nil { + panic(fmt.Errorf("getting user failed: %v", err)) + } // create user // ToDo: We need a remote server with federation enabled to properly test this