Skip to content

Commit a8e50c4

Browse files
committed
don't log listenbrainz scrobble errors
we're already logging at the subsonic level
1 parent 2440e69 commit a8e50c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/ctrlsubsonic/handlers_common.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,8 @@ func (c *Controller) ServeScrobble(r *http.Request) *spec.Response {
6565
scrobbleErrs.Add(err)
6666
}
6767
}
68-
6968
if scrobbleErrs.Len() > 0 {
70-
log.Printf("error when submitting: %v", scrobbleErrs)
71-
return spec.NewError(0, "error when submitting: %v", scrobbleErrs)
69+
return spec.NewError(0, "error when submitting: %s", scrobbleErrs.Error())
7270
}
7371

7472
return spec.NewResponse()

0 commit comments

Comments
 (0)