Merge pull request #312 from writeas/fix-no-to

Only log "No to!" when debugging
This commit is contained in:
Matt Baer 2020-05-29 05:53:24 -04:00 committed by GitHub
commit 5c94d23466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}