Only log "No to!" when debugging

Fixes #311
This commit is contained in:
Matt Baer 2020-05-15 13:47:58 -04:00
parent 037fc40fb3
commit 9d854c17c1
1 changed files with 3 additions and 1 deletions

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
}