don't log listenbrainz scrobble errors

we're already logging at the subsonic level
This commit is contained in:
sentriz
2022-03-24 00:02:06 +00:00
parent 2440e69689
commit a8e50c4a01

View File

@@ -65,10 +65,8 @@ func (c *Controller) ServeScrobble(r *http.Request) *spec.Response {
scrobbleErrs.Add(err)
}
}
if scrobbleErrs.Len() > 0 {
log.Printf("error when submitting: %v", scrobbleErrs)
return spec.NewError(0, "error when submitting: %v", scrobbleErrs)
return spec.NewError(0, "error when submitting: %s", scrobbleErrs.Error())
}
return spec.NewResponse()