Browse Source

Only log "No to!" when debugging

Fixes #311
fix-no-to
Matt Baer 4 years ago
parent
commit
9d854c17c1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      activitypub.go

+ 3
- 1
activitypub.go View File

@@ -397,7 +397,9 @@ func handleFetchCollectionInbox(app *App, w http.ResponseWriter, r *http.Request

go func() {
if to == nil {
log.Error("No to! %v", err)
if debugging {
log.Error("No `to` value!")
}
return
}



Loading…
Cancel
Save