mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[GH-ISSUE #394] Crash when opening a playlist. #164
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#164
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?
Originally created by @slumber on GitHub (Apr 11, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/394
I have found a single playlist which causes a crash so far, but still it seems weird.
OS: ArchLinux 5.6.3-arch1-1
Steps to reproduce:
search for 'eminem' and try to open 'This is Eminem' playlist.
The stacktrace states that this is caused by
unwrap()call at src/network.rs:361.I don't have a premium account yet, but other playlists can be opened just fine, so I believe some kind of check is necessary to avoid such behavior.
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/network.rs:361:23@Rigellute commented on GitHub (Apr 13, 2020):
Thanks for reporting @slumber