Просмотр исходного кода

Log handle on GetProfilePageFromHandle err

pull/282/head
Matt Baer 4 лет назад
Родитель
Сommit
f9cd87ae3a
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      posts.go

+ 1
- 1
posts.go Просмотреть файл

@@ -1180,7 +1180,7 @@ func (p *PublicPost) ActivityObject(app *App) *activitystreams.Object {
for _, handle := range mentions {
actorIRI, err := app.db.GetProfilePageFromHandle(app, handle)
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
}
mentionedUsers[handle] = actorIRI


Загрузка…
Отмена
Сохранить