Skip to content

Commit 152b565

Browse files
committed
add debug lines
1 parent 8debcf3 commit 152b565

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ func (c *Client) CreatePlaylist(tracks []*models.Track) error {
145145
}
146146
slog.Info("Refreshing library...", "system", c.System)
147147
if !c.API.CheckRefreshState() {
148+
slog.Debug("could not check library refresh state, either the client doesn't support it or threw an error")
149+
slog.Debug("falling back on SLEEP env variable")
148150
time.Sleep(time.Duration(c.Cfg.Sleep) * time.Minute)
149151
}
150152

0 commit comments

Comments
 (0)