Skip to content

Commit

Permalink
don't log listenbrainz scrobble errors
Browse files Browse the repository at this point in the history
we're already logging at the subsonic level
  • Loading branch information
sentriz committed Mar 24, 2022
1 parent 2440e69 commit a8e50c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/ctrlsubsonic/handlers_common.go
Expand Up @@ -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()
Expand Down

0 comments on commit a8e50c4

Please sign in to comment.