AddTracksToPlaylist panics when progress is omitted #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The function accepts a
ui.Progressinterface and guardsStartandFinishwhen it is nil, but callsprogress.Advanceunconditionally atinternal/spotify/playlist.go#L136. A caller that omits progress receives a nil-interface panic after the first successful batch.A Spotify-shaped test server returning a successful add-tracks response reproduced the panic with one track and
progress == nil.