Log handle on GetProfilePageFromHandle err
This commit is contained in:
parent
ac522ed600
commit
f9cd87ae3a
2
posts.go
2
posts.go
|
@ -1180,7 +1180,7 @@ func (p *PublicPost) ActivityObject(app *App) *activitystreams.Object {
|
||||||
for _, handle := range mentions {
|
for _, handle := range mentions {
|
||||||
actorIRI, err := app.db.GetProfilePageFromHandle(app, handle)
|
actorIRI, err := app.db.GetProfilePageFromHandle(app, handle)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Info("Couldn't find this user locally or remotely")
|
log.Info("Couldn't find user '%s' locally or remotely", handle)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
mentionedUsers[handle] = actorIRI
|
mentionedUsers[handle] = actorIRI
|
||||||
|
|
Loading…
Reference in New Issue