fix incorrect debug call

This commit is contained in:
tsmethurst 2022-06-01 16:07:44 +02:00
parent 997e6f6c06
commit f34844850c

View file

@ -68,7 +68,7 @@ func (m *Module) WebfingerGETRequest(c *gin.Context) {
requestedUsername, requestedHost, err := util.ExtractWebfingerParts(resourceQuery) requestedUsername, requestedHost, err := util.ExtractWebfingerParts(resourceQuery)
if err != nil { if err != nil {
l.Debug("bad webfinger request with resource query %s: %s", resourceQuery, err) l.Debugf("bad webfinger request with resource query %s: %s", resourceQuery, err)
c.JSON(http.StatusBadRequest, gin.H{"error": fmt.Sprintf("bad webfinger request with resource query %s", resourceQuery)}) c.JSON(http.StatusBadRequest, gin.H{"error": fmt.Sprintf("bad webfinger request with resource query %s", resourceQuery)})
return return
} }