Commit 58d7afe8 authored by zauberstuhl's avatar zauberstuhl

Reduce log level in webfinger search

warning only if a person wasn't found

closes #76
parent 9fb1ea32
Pipeline #511 passed with stages
in 7 minutes and 43 seconds
......@@ -76,7 +76,7 @@ func (c Webfinger) Webfinger() revel.Result {
err = db.Where("author = ?", username + "@" + address).First(&person).Error
if err != nil {
c.Response.Status = http.StatusNotFound
c.Log.Error("Cannot find person", "error", err)
c.Log.Warn("Cannot find person", "error", err)
return c.RenderError(err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment