Only log "No to!" when debugging

Fixes #311
pull/312/head
Matt Baer 5 years ago
parent 037fc40fb3
commit 9d854c17c1
  1. 4
      activitypub.go

@ -397,7 +397,9 @@ func handleFetchCollectionInbox(app *App, w http.ResponseWriter, r *http.Request
go func() { go func() {
if to == nil { if to == nil {
log.Error("No to! %v", err) if debugging {
log.Error("No `to` value!")
}
return return
} }

Loading…
Cancel
Save