zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.33k stars 283 forks source link

Client is (too) quiet if it has to retry #241

Open ATroschke opened 7 months ago

ATroschke commented 7 months ago

Hey, I just happened to implement a bad behaviour for my Server-Server communication (basically: Retrieve artist > Retrieve all Albums > add all unknown Artists to DB > goto next Artist in DB with lowest updated timestamp)

This made me hit rate limits (quite hard) for my in-Development flagged testing App.

The client now waited - silently - apparently indefinitely.

Could be either provide a way to:

strideynet commented 7 months ago

I'd be open to us implementing the ability to inject a *slog.Logger into the client for these sorts of messages now that slog is available within stdlib.