Demote error level

This commit is contained in:
Gabe Kangas 2022-01-20 17:33:42 -08:00
parent 7f41b2df7c
commit bb3bbc0eaf
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
2 changed files with 1 additions and 8 deletions

View File

@ -38,7 +38,7 @@ func WebfingerHandler(w http.ResponseWriter, r *http.Request) {
if _, valid := data.GetFederatedInboxMap()[user]; !valid {
// User is not valid
w.WriteHeader(http.StatusNotFound)
log.Errorln("webfinger request rejected for user:", user)
log.Debugln("webfinger request rejected for user:", user)
return
}

View File

@ -46,13 +46,6 @@ func worker(workerID int, queue <-chan Job) {
}
func sendActivityPubMessageToInbox(job Job) error {
// req, err := http.NewRequest("POST", job.inbox.String(), bytes.NewReader(job.payload))
// if err != nil {
// return err
// }
// req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(job.request)