mirror of
1
Fork 0

Add missing error treatment

This commit is contained in:
erik 2023-12-06 15:37:58 +01:00 committed by Michael Jerger
parent 946e5cf34c
commit 77b6402e77
1 changed files with 3 additions and 1 deletions

View File

@ -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